Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round #792 (Div. 1)
2 days
Before contest
Codeforces Round #792 (Div. 2)
2 days
→ Filter Problems
Difficulty:
—
bitmasks
combine-tags-by-or
*combine tags by OR
2-sat
binary search
bitmasks
brute force
chinese remainder theorem
combinatorics
constructive algorithms
data structures
dfs and similar
divide and conquer
dp
dsu
expression parsing
fft
flows
games
geometry
graph matchings
graphs
greedy
hashing
implementation
interactive
math
matrices
meet-in-the-middle
number theory
probabilities
schedules
shortest paths
sortings
string suffix structures
strings
ternary search
trees
two pointers
Add tag
Main
acmsguru
|
Problems
Submit
Status
Standings
Custom test
Problems
#
Name
1680E
Moving Chips
bitmasks
,
dp
,
greedy
2000
x1837
1679F
Formalism for Formalism
bitmasks
,
dp
,
math
2600
x151
1679E
Typical Party in Dorm
bitmasks
,
brute force
,
combinatorics
,
dp
,
math
,
strings
2400
x447
1673F
Anti-Theft Road Planning
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
interactive
,
math
2400
x488
1673E
Power or XOR?
bitmasks
,
combinatorics
,
math
,
number theory
2500
x397
1670F
Jee, You See?
bitmasks
,
combinatorics
,
dp
2400
x473
1670E
Hemose on the Tree
bitmasks
,
constructive algorithms
,
dfs and similar
,
trees
2200
x1010
1669H
Maximal AND
bitmasks
,
greedy
,
math
1300
x8891
1665E
MinimizOR
bitmasks
,
brute force
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
two pointers
2500
x898
1665D
GCD Guess
bitmasks
,
chinese remainder theorem
,
constructive algorithms
,
games
,
interactive
,
math
,
number theory
2000
x2379
1661B
Getting Zero
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1300
x10996
1659E
AND-MEX Walk
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2200
x860
1659B
Bit Flipping
bitmasks
,
constructive algorithms
,
greedy
,
strings
1300
x7138
1658D2
388535 (Hard Version)
bitmasks
,
brute force
,
data structures
,
math
2300
x1719
1658D1
388535 (Easy Version)
bitmasks
,
math
1600
x6277
1654F
Minimal String Xoration
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
hashing
,
sortings
,
strings
2800
x597
1646C
Factorials and Powers of Two
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
math
1500
x8844
1641D
Two Arrays
bitmasks
,
brute force
,
combinatorics
,
greedy
,
hashing
,
math
,
two pointers
2700
x701
1635D
Infinite Set
bitmasks
,
dp
,
math
,
matrices
,
number theory
,
strings
1800
x4305
1635A
Min Or Sum
bitmasks
,
greedy
800
x17636
1634B
Fortune Telling
bitmasks
,
math
1400
x12289
1632C
Strange Test
binary search
,
bitmasks
,
brute force
,
dp
,
math
1600
x9055
1632B
Roof Construction
bitmasks
,
constructive algorithms
1000
x16122
1630A
And Matching
bitmasks
,
constructive algorithms
1500
x10765
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x1518
1625A
Ancient Civilization
bitmasks
,
greedy
,
math
800
x14999
1624G
MinOr Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3727
1622E
Math Test
bitmasks
,
brute force
,
greedy
2200
x1291
1620G
Subsequences Galore
bitmasks
,
combinatorics
,
dp
2400
x614
1618F
Reverse
bitmasks
,
constructive algorithms
,
dfs and similar
,
implementation
,
math
,
strings
2000
x3075
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x365
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1462
1615B
And It's Non-Zero
bitmasks
,
greedy
,
math
1300
x11408
1614C
Divan and bitwise operations
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
math
1500
x7523
1609E
William The Oblivious
bitmasks
,
data structures
,
dp
,
matrices
2400
x1384
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x2232
1601A
Array Elimination
bitmasks
,
greedy
,
math
,
number theory
1300
x9557
1600J
Robot Factory
bitmasks
,
dfs and similar
1400
x2689
1599J
Bob's Beautiful Array
bitmasks
,
brute force
,
greedy
2600
x215
1598F
RBS
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
2400
x957
1594B
Special Numbers
bitmasks
,
math
1100
x14304
1592E
Bored Bakry
bitmasks
,
greedy
,
math
,
two pointers
2400
x1231
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x5485
1584F
Strange LCS
bitmasks
,
dp
,
graphs
,
greedy
,
strings
2600
x604
1583F
Defender of Childhood Dreams
bitmasks
,
constructive algorithms
,
divide and conquer
2500
x863
1582F1
Korney Korneevich and XOR (easy version)
bitmasks
,
dp
,
greedy
1800
x3483
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x223
1569E
Playoff Restoration
bitmasks
,
brute force
,
hashing
,
implementation
,
meet-in-the-middle
2600
x629
1567C
Carrying Conundrum
bitmasks
,
combinatorics
,
dp
,
math
1600
x9808
1567B
MEXor Mixup
bitmasks
,
greedy
1000
x17240
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x14114
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x16377
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x3303
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x4647
1559A
Mocha and Math
bitmasks
,
constructive algorithms
,
math
900
x20408
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x6825
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x171
1556F
Sports Betting
bitmasks
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
2500
x914
1556D
Take a Guess
bitmasks
,
constructive algorithms
,
interactive
,
math
1800
x4917
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x6731
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x10183
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x426
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x13751
1552G
A Serious Referee
bitmasks
,
brute force
,
dfs and similar
,
sortings
3000
x344
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x5303
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1100
1548D1
Gregor and the Odd Cows (Easy)
bitmasks
,
geometry
,
math
,
number theory
2300
x1229
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x12815
1543E
The Final Pursuit
bitmasks
,
constructive algorithms
,
divide and conquer
,
graphs
,
greedy
,
math
2700
x326
1543D1
RPD and Rap Sheet (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
1700
x6556
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x4572
1533H
Submatrices
*special problem
,
bitmasks
,
data structures
,
dp
x68
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x545
1527A
And Then There Were K
bitmasks
800
x25647
1523F
Favorite Game
bitmasks
,
dp
3300
x235
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x1694
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x185
1516C
Baby Ehab Partitions Again
bitmasks
,
constructive algorithms
,
dp
,
math
1700
x9010
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x13765
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x138
1514B
AND 0, Sum Big
bitmasks
,
combinatorics
,
math
1200
x16202
1513B
AND Sequences
bitmasks
,
combinatorics
,
constructive algorithms
,
math
1400
x10610
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x439
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1014
1500C
Matrix Sorting
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
two pointers
2600
x554
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x494
1498B
Box Fitting
binary search
,
bitmasks
,
data structures
,
greedy
1300
x12921
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1194
1494B
Berland Crossword
bitmasks
,
brute force
,
greedy
,
implementation
1400
x11850
1494A
ABC String
bitmasks
,
brute force
,
implementation
900
x17844
1493F
Enchanted Matrix
bitmasks
,
interactive
,
number theory
2600
x295
1493E
Enormous XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
,
strings
,
two pointers
2600
x681
1492D
Genius's Gambit
bitmasks
,
constructive algorithms
,
greedy
,
math
1900
x5186
1491D
Zookeeper and The Infinite Zoo
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
1800
x5670
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x570
1479C
Continuous City
bitmasks
,
constructive algorithms
2500
x1041
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x1825
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x5264
1469E
A Bit Similar
bitmasks
,
brute force
,
hashing
,
string suffix structures
,
strings
,
two pointers
2400
x1553
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2545
←
1
2
3
4
→
User lists
Name