Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
47:18:23
Register now »
*has extra registration
→ 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
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x19111
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4202
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x5919
1559A
Mocha and Math
bitmasks
,
constructive algorithms
,
math
900
x28647
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x8336
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x309
1556F
Sports Betting
bitmasks
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
2500
x1177
1556D
Take a Guess
bitmasks
,
constructive algorithms
,
interactive
,
math
1800
x6499
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x8539
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12431
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x674
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x17332
1552G
A Serious Referee
bitmasks
,
brute force
,
dfs and similar
,
sortings
3000
x454
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x6700
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1441
1548D1
Gregor and the Odd Cows (Easy)
bitmasks
,
geometry
,
math
,
number theory
2300
x1428
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x16064
1543E
The Final Pursuit
bitmasks
,
constructive algorithms
,
divide and conquer
,
graphs
,
greedy
,
math
2700
x394
1543D1
RPD and Rap Sheet (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
1700
x7443
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5185
1533H
Submatrices
*special problem
,
bitmasks
,
data structures
,
dp
x80
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x752
1527A
And Then There Were K
bitmasks
800
x33975
1523F
Favorite Game
bitmasks
,
dp
3300
x399
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2084
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x388
1516C
Baby Ehab Partitions Again
bitmasks
,
constructive algorithms
,
dp
,
math
1700
x11531
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x18129
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x215
1514B
AND 0, Sum Big
bitmasks
,
combinatorics
,
math
1200
x22864
1513B
AND Sequences
bitmasks
,
combinatorics
,
constructive algorithms
,
math
1400
x13787
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x701
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1424
1500C
Matrix Sorting
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
two pointers
2600
x765
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x852
1498B
Box Fitting
binary search
,
bitmasks
,
data structures
,
greedy
1300
x16129
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1483
1494B
Berland Crossword
bitmasks
,
brute force
,
greedy
,
implementation
1400
x13955
1494A
ABC String
bitmasks
,
brute force
,
implementation
900
x20425
1493F
Enchanted Matrix
bitmasks
,
interactive
,
number theory
2600
x375
1493E
Enormous XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
,
strings
,
two pointers
2600
x864
1492D
Genius's Gambit
bitmasks
,
constructive algorithms
,
greedy
,
math
1900
x5934
1491D
Zookeeper and The Infinite Zoo
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
1800
x6901
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x967
1479C
Continuous City
bitmasks
,
constructive algorithms
2500
x1256
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x2247
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x6153
1469E
A Bit Similar
bitmasks
,
brute force
,
hashing
,
string suffix structures
,
strings
,
two pointers
2400
x1855
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2794
1466E
Apollo versus Pan
bitmasks
,
brute force
,
math
1800
x6999
1463F
Max Correct Set
bitmasks
,
dp
,
math
3100
x552
1463B
Find The Array
bitmasks
,
constructive algorithms
,
greedy
1400
x18786
1451E2
Bitwise Queries (Hard Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
2300
x2834
1451E1
Bitwise Queries (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
2000
x4202
1450G
Communism
bitmasks
,
dp
,
trees
3500
x233
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3395
1439E
Cheat and Win
bitmasks
,
data structures
,
games
,
trees
3500
x214
1438E
Yurii Can Do Everything
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
two pointers
2500
x1292
1438D
Powerful Ksenia
bitmasks
,
constructive algorithms
,
math
2200
x4070
1430G
Yet Another DAG Problem
bitmasks
,
dfs and similar
,
dp
,
flows
,
graphs
,
math
2600
x626
1427E
Xum
bitmasks
,
constructive algorithms
,
math
,
matrices
,
number theory
2500
x1266
1423J
Bubble Cup hypothesis
bitmasks
,
constructive algorithms
,
dp
,
math
2400
x735
1423I
Lookup Tables
bitmasks
3000
x101
1421A
XORwice
bitmasks
,
greedy
,
math
800
x27319
1420B
Rock and Lever
bitmasks
,
math
1200
x23741
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4186
1415D
XOR-gun
bitmasks
,
brute force
,
constructive algorithms
2000
x5182
1411G
No Game No Life
bitmasks
,
games
,
math
,
matrices
2700
x579
1411E
Poman Numbers
bitmasks
,
greedy
,
math
,
strings
2300
x1556
1401F
Reverse and Swap
binary search
,
bitmasks
,
data structures
2400
x1528
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x902
1398G
Running Competition
bitmasks
,
fft
,
math
,
number theory
2600
x773
1395C
Boboniu and Bit Operations
bitmasks
,
brute force
,
dp
,
greedy
1600
x13525
1392G
Omkar and Pies
bitmasks
,
dfs and similar
,
dp
,
math
,
shortest paths
2900
x442
1392E
Omkar and Duck
bitmasks
,
constructive algorithms
,
interactive
,
math
2100
x3239
1391D
505
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
implementation
2000
x4937
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x430
1385D
a-Good String
bitmasks
,
brute force
,
divide and conquer
,
dp
,
implementation
1500
x18383
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x561
1383B
GameGame
bitmasks
,
constructive algorithms
,
dp
,
games
,
greedy
,
math
1900
x4768
1368D
AND, OR and square sum
bitmasks
,
greedy
,
math
1700
x11232
1365G
Secure Password
bitmasks
,
combinatorics
,
constructive algorithms
,
interactive
,
math
2800
x918
1364E
X-OR
bitmasks
,
constructive algorithms
,
divide and conquer
,
interactive
,
probabilities
2700
x1114
1362C
Johnny and Another Rating Drop
bitmasks
,
greedy
,
math
1400
x17059
1362B
Johnny and His Hobbies
bitmasks
,
brute force
1200
x18384
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1385
1360H
Binary Median
binary search
,
bitmasks
,
brute force
,
constructive algorithms
2100
x4285
1360F
Spy-string
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
hashing
,
strings
1700
x11871
1342F
Make It Ascending
bitmasks
,
brute force
,
dp
3000
x686
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7574
1338C
Perfect Triples
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
math
2200
x2989
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8093
1336E2
Chiori and Doll Picking (hard version)
bitmasks
,
brute force
,
combinatorics
,
math
3500
x289
1336E1
Chiori and Doll Picking (easy version)
bitmasks
,
brute force
,
combinatorics
,
math
2700
x650
1334G
Substring Search
bitmasks
,
brute force
,
fft
2900
x353
1332D
Walk on Matrix
bitmasks
,
constructive algorithms
,
math
1700
x7871
1331C
...And after happily lived ever they
*special problem
,
bitmasks
x3134
1329B
Dreamoon Likes Sequences
bitmasks
,
combinatorics
,
math
1700
x6389
1327G
Letters and Question Marks
bitmasks
,
dp
,
string suffix structures
2800
x407
1327F
AND Segments
bitmasks
,
combinatorics
,
data structures
,
dp
,
two pointers
2500
x1607
←
1
2
3
4
5
6
→
User lists
Name