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
3 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
two pointers
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
853B
Jury Meeting
greedy
,
sortings
,
two pointers
1800
x2501
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2518
609D
Gadgets for dollars and pounds
binary search
,
greedy
,
two pointers
2000
x2539
1730D
Prefixes and Suffixes
constructive algorithms
,
strings
,
two pointers
2200
x2583
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2589
644B
Processing Queries
*special problem
,
constructive algorithms
,
data structures
,
two pointers
1700
x2599
1858D
Trees and Segments
brute force
,
data structures
,
dp
,
greedy
,
two pointers
2200
x2661
899E
Segments Removal
data structures
,
dsu
,
flows
,
implementation
,
two pointers
2000
x2722
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2736
1195E
OpenStreetMap
data structures
,
two pointers
2100
x2796
1630C
Paint the Middle
dp
,
greedy
,
sortings
,
two pointers
2200
x2815
1044A
The Tower is Going Home
binary search
,
two pointers
1700
x2845
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x2851
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2856
1744F
MEX vs MED
math
,
two pointers
2000
x2860
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2886
343C
Read Time
binary search
,
greedy
,
two pointers
1900
x2893
281B
Nearest Fraction
brute force
,
implementation
,
two pointers
1700
x2920
1254B2
Send Boxes to Alice (Hard Version)
constructive algorithms
,
greedy
,
math
,
number theory
,
ternary search
,
two pointers
2100
x2925
965D
Single-use Stones
binary search
,
flows
,
greedy
,
two pointers
1900
x2956
1367F1
Flying Sort (Easy Version)
dp
,
greedy
,
two pointers
2100
x2975
6E
Exposition
binary search
,
data structures
,
dsu
,
trees
,
two pointers
1900
x2979
939E
Maximize!
binary search
,
greedy
,
ternary search
,
two pointers
1800
x2993
1684E
MEX vs DIFF
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
2100
x3027
652C
Foe Pairs
combinatorics
,
sortings
,
two pointers
1800
x3063
645C
Enduring Exodus
binary search
,
two pointers
1600
x3142
1503C
Travelling Salesman Problem
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
sortings
,
two pointers
2200
x3187
873C
Strange Game On Matrix
greedy
,
two pointers
1600
x3199
985E
Pencils and Boxes
binary search
,
data structures
,
dp
,
greedy
,
two pointers
2100
x3220
769B
News About Credit
*special problem
,
greedy
,
two pointers
1200
x3230
733C
Epidemic in Monstropolis
constructive algorithms
,
dp
,
greedy
,
two pointers
1800
x3291
1168B
Good Triple
brute force
,
two pointers
1900
x3299
650B
Image Preview
binary search
,
brute force
,
dp
,
two pointers
1900
x3305
487B
Strip
binary search
,
data structures
,
dp
,
two pointers
2000
x3340
1819B
The Butcher
geometry
,
greedy
,
implementation
,
sortings
,
two pointers
1900
x3398
1266D
Decreasing Debts
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
math
,
two pointers
2000
x3402
895B
XK Segments
binary search
,
math
,
sortings
,
two pointers
1700
x3412
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3429
229A
Shifts
brute force
,
two pointers
1500
x3434
384B
Multitasking
greedy
,
implementation
,
sortings
,
two pointers
1500
x3471
60A
Where Are My Flakes?
implementation
,
two pointers
1300
x3514
430B
Balls Game
brute force
,
two pointers
1400
x3620
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3629
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3689
1454F
Array Partition
binary search
,
data structures
,
greedy
,
two pointers
2100
x3784
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x3840
1659D
Reverse Sort Sum
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
,
two pointers
1900
x3850
1555E
Boring Segments
data structures
,
sortings
,
trees
,
two pointers
2100
x3850
1622D
Shuffle
combinatorics
,
math
,
two pointers
2000
x3865
1200D
White Lines
brute force
,
data structures
,
dp
,
implementation
,
two pointers
1900
x3874
1765D
Watch the Videos
binary search
,
constructive algorithms
,
two pointers
1700
x3877
1333F
Kate and imperfection
greedy
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2200
x3903
1223D
Sequence Sorting
dp
,
greedy
,
two pointers
2000
x3921
1366E
Two Arrays
binary search
,
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
two pointers
2100
x3947
1516D
Cut
binary search
,
data structures
,
dp
,
graphs
,
number theory
,
two pointers
2100
x4069
1282C
Petya and Exam
greedy
,
sortings
,
two pointers
1800
x4095
514D
R2D2 and Droid Army
binary search
,
data structures
,
two pointers
2000
x4097
1852B
Imbalanced Arrays
constructive algorithms
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
1800
x4102
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4105
1408D
Searchlights
binary search
,
brute force
,
data structures
,
dp
,
implementation
,
sortings
,
two pointers
2000
x4151
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4179
1188B
Count Pairs
math
,
matrices
,
number theory
,
two pointers
2300
x4196
1463D
Pairs
binary search
,
constructive algorithms
,
greedy
,
two pointers
1900
x4224
1569D
Inconvenient Pairs
binary search
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x4227
14D
Two Paths
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
,
two pointers
1900
x4286
280B
Maximum Xor Secondary
data structures
,
implementation
,
two pointers
1800
x4351
1487E
Cheap Dinner
brute force
,
data structures
,
graphs
,
greedy
,
implementation
,
sortings
,
two pointers
2000
x4352
1043D
Mysterious Crime
brute force
,
combinatorics
,
math
,
meet-in-the-middle
,
two pointers
1700
x4363
1254B1
Send Boxes to Alice (Easy Version)
constructive algorithms
,
greedy
,
math
,
number theory
,
ternary search
,
two pointers
1800
x4403
1632D
New Year Concert
binary search
,
data structures
,
greedy
,
math
,
number theory
,
two pointers
2000
x4446
833B
The Bakery
binary search
,
data structures
,
divide and conquer
,
dp
,
two pointers
2200
x4456
1073C
Vasya and Robot
binary search
,
two pointers
1800
x4536
939C
Convenient For Everybody
binary search
,
two pointers
1600
x4550
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4588
1380D
Berserk And Fireball
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
2000
x4607
1423K
Lonely Numbers
binary search
,
math
,
number theory
,
two pointers
1600
x4643
161A
Dress'em in Vests!
binary search
,
brute force
,
greedy
,
two pointers
1300
x4671
1493D
GCD of an Array
brute force
,
data structures
,
hashing
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2100
x4723
1601B
Frog Traveler
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
,
two pointers
1900
x4741
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x4770
1060C
Maximum Subrectangle
binary search
,
implementation
,
two pointers
1600
x4797
359D
Pair of Numbers
binary search
,
brute force
,
data structures
,
math
,
two pointers
2000
x4803
1883G2
Dances (Hard Version)
binary search
,
greedy
,
sortings
,
two pointers
1900
x4809
1290B
Irreducible Anagrams
binary search
,
constructive algorithms
,
data structures
,
strings
,
two pointers
1800
x4864
1537E2
Erase and Extend (Hard Version)
binary search
,
data structures
,
greedy
,
hashing
,
string suffix structures
,
strings
,
two pointers
2200
x4952
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x4992
1133E
K Balanced Teams
dp
,
sortings
,
two pointers
1800
x5034
924B
Three-level Laser
binary search
,
greedy
,
two pointers
1600
x5037
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5105
875B
Sorting the Coins
dsu
,
implementation
,
sortings
,
two pointers
1500
x5112
1494C
1D Sokoban
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1900
x5216
734C
Anton and Making Potions
binary search
,
dp
,
greedy
,
two pointers
1600
x5281
1450D
Rating Compression
binary search
,
data structures
,
greedy
,
implementation
,
two pointers
1800
x5294
1379C
Choosing flowers
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
two pointers
2000
x5388
1691D
Max GEQ Sum
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
implementation
,
two pointers
1800
x5412
1701D
Permutation Restoration
binary search
,
data structures
,
greedy
,
math
,
sortings
,
two pointers
1900
x5446
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5459
1630B
Range and Partition
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5480
1413C
Perform Easily
binary search
,
brute force
,
dp
,
implementation
,
sortings
,
two pointers
1900
x5521
1732C1
Sheikh (Easy version)
binary search
,
bitmasks
,
greedy
,
two pointers
1800
x5532
←
1
2
3
4
5
6
→
User lists
Name