Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 946 (Div. 3)
25:10:31
Register now »
→ 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
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x17044
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x19123
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4209
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x5926
1559A
Mocha and Math
bitmasks
,
constructive algorithms
,
math
900
x28707
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x8343
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
x6511
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x8546
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12443
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x674
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x17342
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
x6709
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
x16086
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
x7448
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5189
1533H
Submatrices
*special problem
,
bitmasks
,
data structures
,
dp
x80
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x753
1527A
And Then There Were K
bitmasks
800
x34028
1523F
Favorite Game
bitmasks
,
dp
3300
x400
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2085
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
x11547
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x18149
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x215
1514B
AND 0, Sum Big
bitmasks
,
combinatorics
,
math
1200
x22913
1513B
AND Sequences
bitmasks
,
combinatorics
,
constructive algorithms
,
math
1400
x13808
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
x1425
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
x854
1498B
Box Fitting
binary search
,
bitmasks
,
data structures
,
greedy
1300
x16164
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1484
1494B
Berland Crossword
bitmasks
,
brute force
,
greedy
,
implementation
1400
x13962
1494A
ABC String
bitmasks
,
brute force
,
implementation
900
x20435
1493F
Enchanted Matrix
bitmasks
,
interactive
,
number theory
2600
x375
1493E
Enormous XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
,
strings
,
two pointers
2600
x865
1492D
Genius's Gambit
bitmasks
,
constructive algorithms
,
greedy
,
math
1900
x5939
1491D
Zookeeper and The Infinite Zoo
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
1800
x6906
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x968
1479C
Continuous City
bitmasks
,
constructive algorithms
2500
x1256
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x2250
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x6156
1469E
A Bit Similar
bitmasks
,
brute force
,
hashing
,
string suffix structures
,
strings
,
two pointers
2400
x1856
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2794
1466E
Apollo versus Pan
bitmasks
,
brute force
,
math
1800
x7009
1463F
Max Correct Set
bitmasks
,
dp
,
math
3100
x552
1463B
Find The Array
bitmasks
,
constructive algorithms
,
greedy
1400
x18797
1451E2
Bitwise Queries (Hard Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
2300
x2837
1451E1
Bitwise Queries (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
2000
x4205
1450G
Communism
bitmasks
,
dp
,
trees
3500
x233
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3398
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
x4071
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
x736
1423I
Lookup Tables
bitmasks
3000
x102
1421A
XORwice
bitmasks
,
greedy
,
math
800
x27347
1420B
Rock and Lever
bitmasks
,
math
1200
x23784
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4188
1415D
XOR-gun
bitmasks
,
brute force
,
constructive algorithms
2000
x5190
1411G
No Game No Life
bitmasks
,
games
,
math
,
matrices
2700
x580
1411E
Poman Numbers
bitmasks
,
greedy
,
math
,
strings
2300
x1556
1401F
Reverse and Swap
binary search
,
bitmasks
,
data structures
2400
x1529
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x903
1398G
Running Competition
bitmasks
,
fft
,
math
,
number theory
2600
x773
1395C
Boboniu and Bit Operations
bitmasks
,
brute force
,
dp
,
greedy
1600
x13539
1392G
Omkar and Pies
bitmasks
,
dfs and similar
,
dp
,
math
,
shortest paths
2900
x442
1392E
Omkar and Duck
bitmasks
,
constructive algorithms
,
interactive
,
math
2100
x3240
1391D
505
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
implementation
2000
x4940
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
x18399
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x561
1383B
GameGame
bitmasks
,
constructive algorithms
,
dp
,
games
,
greedy
,
math
1900
x4775
1368D
AND, OR and square sum
bitmasks
,
greedy
,
math
1700
x11241
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
x17079
1362B
Johnny and His Hobbies
bitmasks
,
brute force
1200
x18398
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
x4289
1360F
Spy-string
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
hashing
,
strings
1700
x11879
1342F
Make It Ascending
bitmasks
,
brute force
,
dp
3000
x688
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7575
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
x8102
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
x7872
1331C
...And after happily lived ever they
*special problem
,
bitmasks
x3135
1329B
Dreamoon Likes Sequences
bitmasks
,
combinatorics
,
math
1700
x6392
1327G
Letters and Question Marks
bitmasks
,
dp
,
string suffix structures
2800
x407
←
1
2
3
4
5
6
→
User lists
Name