Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2) and CodeCraft-23
37:31:54
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
greedy
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
1573A
Countdown
greedy
800
x20909
1572D
Bridge Club
flows
,
graph matchings
,
graphs
,
greedy
2800
x459
1572C
Paint
dp
,
greedy
2700
x1384
1572B
Xor of 3
brute force
,
constructive algorithms
,
greedy
,
two pointers
2500
x1733
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x319
1567D
Expression Evaluation Error
constructive algorithms
,
greedy
,
implementation
,
math
2000
x4385
1567B
MEXor Mixup
bitmasks
,
greedy
1000
x21312
1566G
Four Vertices
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
3100
x326
1566F
Points Movement
data structures
,
dp
,
greedy
,
implementation
,
sortings
2600
x923
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4006
1566D2
Seating Arrangements (hard version)
data structures
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x7681
1566D1
Seating Arrangements (easy version)
data structures
,
greedy
,
sortings
1100
x13741
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x16960
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x19034
1566A
Median Maximization
binary search
,
greedy
,
math
800
x22680
1562E
Rescue Niwen!
dp
,
greedy
,
string suffix structures
,
strings
2500
x1323
1562A
The Miracle and the Sleeper
greedy
,
math
800
x25158
1561C
Deep Down Below
binary search
,
greedy
,
sortings
1300
x13405
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4183
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x5888
1560D
Make a Power of Two
greedy
,
math
,
strings
1300
x17591
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2519
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13151
1559B
Mocha and Red and Blue
dp
,
greedy
900
x21909
1558E
Down Below
binary search
,
dfs and similar
,
graphs
,
greedy
,
meet-in-the-middle
,
shortest paths
3000
x428
1558C
Bottom-Tier Reversals
constructive algorithms
,
greedy
2000
x3135
1557D
Ezzat and Grid
data structures
,
dp
,
greedy
2200
x2451
1557B
Moamen and k-subarrays
greedy
,
sortings
1100
x22761
1556H
DIY Tree
graphs
,
greedy
,
math
,
probabilities
3300
x318
1556E
Equilibrium
data structures
,
dp
,
greedy
2200
x2505
1554D
Diane
constructive algorithms
,
greedy
,
strings
1800
x9046
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x8484
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12374
1554A
Cherry
greedy
800
x28532
1553D
Backspace
dp
,
greedy
,
strings
,
two pointers
1500
x13267
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x17248
1552E
Colors and Intervals
constructive algorithms
,
data structures
,
greedy
,
sortings
2300
x1766
1552C
Maximize the Intersections
combinatorics
,
constructive algorithms
,
geometry
,
greedy
,
sortings
1800
x5764
1552B
Running for Gold
combinatorics
,
graphs
,
greedy
,
sortings
1500
x14928
1551C
Interesting Story
greedy
,
sortings
,
strings
1500
x12840
1551B2
Wonderful Coloring - 2
binary search
,
constructive algorithms
,
data structures
,
greedy
1400
x14994
1551B1
Wonderful Coloring - 1
greedy
,
strings
800
x28579
1551A
Polycarp and Coins
greedy
,
math
800
x48092
1550C
Manhattan Subarrays
brute force
,
geometry
,
greedy
,
implementation
1700
x9913
1550B
Maximum Cost Deletion
greedy
,
math
1000
x25617
1550A
Find The Array
greedy
,
math
800
x27588
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x23709
1548E
Gregor and the Two Painters
data structures
,
divide and conquer
,
graphs
,
greedy
,
math
3400
x334
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x15975
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x15905
1547C
Pair Programming
greedy
,
two pointers
1100
x21952
1547B
Alphabetical Strings
greedy
,
implementation
,
strings
800
x25904
1546A
AquaMoon and Two Arrays
brute force
,
greedy
800
x18057
1543E
The Final Pursuit
bitmasks
,
constructive algorithms
,
divide and conquer
,
graphs
,
greedy
,
math
2700
x392
1543B
Customising the Track
combinatorics
,
greedy
,
math
900
x22613
1543A
Exciting Bets
greedy
,
math
,
number theory
900
x26220
1541A
Pretty Permutations
constructive algorithms
,
greedy
,
implementation
800
x28942
1540A
Great Graphs
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
sortings
1400
x13650
1539F
Strange Array
data structures
,
greedy
,
sortings
2600
x834
1539E
Game with Cards
binary search
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2500
x920
1539D
PriceFixed
binary search
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x11247
1539C
Stable Groups
greedy
,
sortings
1200
x21110
1539A
Contest Start
combinatorics
,
geometry
,
greedy
,
math
1000
x19553
1538G
Gift Set
binary search
,
greedy
,
math
,
ternary search
2100
x4341
1538B
Friends and Candies
greedy
,
math
800
x30929
1538A
Stone Game
brute force
,
dp
,
greedy
800
x35605
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2352
1537E2
Erase and Extend (Hard Version)
binary search
,
data structures
,
greedy
,
hashing
,
string suffix structures
,
strings
,
two pointers
2200
x4955
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x12195
1537C
Challenging Cliffs
constructive algorithms
,
greedy
,
implementation
,
math
1200
x26207
1537B
Bad Boy
constructive algorithms
,
greedy
,
math
900
x27771
1537A
Arithmetic Array
greedy
,
math
800
x35809
1536D
Omkar and Medians
data structures
,
greedy
,
implementation
2000
x4545
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2624
1535C
Unstable String
binary search
,
dp
,
greedy
,
implementation
,
strings
,
two pointers
1400
x16029
1535B
Array Reodering
brute force
,
greedy
,
math
,
number theory
,
sortings
900
x29485
1534F2
Falling Sand (Hard Version)
dfs and similar
,
dp
,
graphs
,
greedy
3000
x508
1534F1
Falling Sand (Easy Version)
dfs and similar
,
graphs
,
greedy
2500
x1182
1534E
Lost Array
graphs
,
greedy
,
interactive
,
shortest paths
2300
x1840
1534B
Histogram Ugliness
greedy
,
implementation
,
math
1100
x12344
1533F
Binary String Partition
*special problem
,
binary search
,
greedy
x208
1533E
Chess Team Forming
*special problem
,
binary search
,
data structures
,
greedy
x268
1530E
Minimax
constructive algorithms
,
greedy
,
strings
2100
x2889
1530D
Secret Santa
constructive algorithms
,
flows
,
graphs
,
greedy
,
math
1600
x8870
1530C
Pursuit
binary search
,
brute force
,
greedy
,
sortings
1200
x14205
1530A
Binary Decimal
greedy
,
math
800
x20730
1529B
Sifid and Strange Subsequences
greedy
,
math
,
sortings
1100
x20312
1529A
Eshag Loves Big Arrays
constructive algorithms
,
greedy
,
math
800
x29335
1528C
Trees of Tranquillity
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2494
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x13766
1526C2
Potions (Hard Version)
data structures
,
greedy
1600
x20838
1526C1
Potions (Easy Version)
brute force
,
data structures
,
dp
,
greedy
1500
x21051
1525D
Armchairs
dp
,
flows
,
graph matchings
,
greedy
1800
x9336
1525C
Robot Collisions
data structures
,
greedy
,
implementation
,
sortings
2000
x4320
1525B
Permutation Sort
constructive algorithms
,
greedy
900
x24138
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8567
1521E
Nastia and a Beautiful Matrix
binary search
,
constructive algorithms
,
dp
,
greedy
2700
x646
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1794
1520G
To Go Or Not To Go?
brute force
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
shortest paths
2200
x3461
1520E
Arranging The Sheep
greedy
,
math
1400
x19808
←
1
2
...
8
9
10
11
12
...
26
27
→
User lists
Name