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:
—
sortings
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
141C
Queue
constructive algorithms
,
greedy
,
sortings
1800
x2361
140D
New Year Contest
greedy
,
sortings
1800
x2189
724C
Ray Tracing
greedy
,
hashing
,
implementation
,
math
,
number theory
,
sortings
1800
x2097
222C
Reducing Fractions
implementation
,
math
,
number theory
,
sortings
1800
x2075
252B
Unsorting Array
brute force
,
sortings
1800
x1675
83B
Doctor
binary search
,
math
,
sortings
1800
x1614
370C
Mittens
constructive algorithms
,
greedy
,
sortings
1800
x1497
847K
Travel Cards
greedy
,
implementation
,
sortings
1800
x1480
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1131
5C
Longest Regular Bracket Sequence
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
,
strings
1900
x12597
1375D
Replace by MEX
brute force
,
constructive algorithms
,
sortings
1900
x8695
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x6948
1475G
Strange Beauty
dp
,
math
,
number theory
,
sortings
1900
x6364
1444B
Divide and Sum
combinatorics
,
math
,
sortings
1900
x6013
1307D
Cow and Fields
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
sortings
1900
x5962
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x5822
1175D
Array Splitting
greedy
,
sortings
1900
x5623
1251D
Salary Changing
binary search
,
greedy
,
sortings
1900
x5603
1413C
Perform Easily
binary search
,
brute force
,
dp
,
implementation
,
sortings
,
two pointers
1900
x5521
1707B
Difference Array
brute force
,
data structures
,
implementation
,
sortings
1900
x5509
1701D
Permutation Restoration
binary search
,
data structures
,
greedy
,
math
,
sortings
,
two pointers
1900
x5446
459E
Pashmak and Graph
dp
,
sortings
1900
x5246
1371E1
Asterism (Easy Version)
binary search
,
brute force
,
combinatorics
,
math
,
number theory
,
sortings
1900
x4943
1883G2
Dances (Hard Version)
binary search
,
greedy
,
sortings
,
two pointers
1900
x4809
1791G2
Teleporters (Hard Version)
binary search
,
greedy
,
sortings
1900
x4425
1746D
Paths on the Tree
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1900
x4401
817D
Imbalanced Array
data structures
,
divide and conquer
,
dsu
,
sortings
1900
x4376
1270D
Strange Device
constructive algorithms
,
interactive
,
math
,
sortings
1900
x4357
552D
Vanya and Triangles
brute force
,
combinatorics
,
data structures
,
geometry
,
math
,
sortings
1900
x4340
1834D
Survey in Class
brute force
,
data structures
,
greedy
,
implementation
,
sortings
1900
x4312
1569D
Inconvenient Pairs
binary search
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x4228
3B
Lorry
greedy
,
sortings
1900
x4188
1237C2
Balanced Removals (Harder)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
implementation
,
sortings
1900
x4123
1650E
Rescheduling the Exam
binary search
,
data structures
,
greedy
,
implementation
,
math
,
sortings
1900
x3988
557C
Arthur and Table
brute force
,
data structures
,
dp
,
greedy
,
math
,
sortings
1900
x3935
1311F
Moving Points
data structures
,
divide and conquer
,
implementation
,
sortings
1900
x3868
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3660
1260D
A Game with Traps
binary search
,
dp
,
greedy
,
sortings
1900
x3578
1819B
The Butcher
geometry
,
greedy
,
implementation
,
sortings
,
two pointers
1900
x3400
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3394
1361B
Johnny and Grandmaster
greedy
,
implementation
,
math
,
sortings
1900
x3384
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3259
1801C
Music Festival
binary search
,
data structures
,
dp
,
greedy
,
sortings
1900
x3180
437D
The Child and Zoo
dsu
,
sortings
1900
x3129
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2857
1043E
Train Hard, Win Easy
constructive algorithms
,
greedy
,
math
,
sortings
1900
x2681
22D
Segments
greedy
,
sortings
1900
x2589
633C
Spy Syndrome 2
data structures
,
dp
,
hashing
,
implementation
,
sortings
,
string suffix structures
,
strings
1900
x2577
118C
Fancy Number
brute force
,
greedy
,
sortings
,
strings
1900
x2512
417D
Cunning Gena
bitmasks
,
dp
,
greedy
,
sortings
1900
x2367
757C
Felicity is Coming!
data structures
,
hashing
,
sortings
,
strings
1900
x2303
613B
Skills
binary search
,
brute force
,
dp
,
greedy
,
sortings
,
two pointers
1900
x2170
353B
Two Heaps
combinatorics
,
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1900
x2168
729E
Subordinates
constructive algorithms
,
data structures
,
graphs
,
greedy
,
sortings
1900
x2129
222D
Olympiad
binary search
,
greedy
,
sortings
,
two pointers
1900
x2123
524C
The Art of Dealing with ATM
binary search
,
sortings
1900
x1978
377B
Preparing for the Contest
binary search
,
data structures
,
greedy
,
sortings
1900
x1968
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x1820
848B
Rooter's Song
constructive algorithms
,
data structures
,
geometry
,
implementation
,
sortings
,
two pointers
1900
x1809
865B
Ordering Pizza
binary search
,
sortings
,
ternary search
1900
x1647
45D
Event Dates
greedy
,
meet-in-the-middle
,
sortings
1900
x1584
158E
Phone Talks
*special problem
,
dp
,
sortings
1900
x1448
119B
Before Exam
constructive algorithms
,
implementation
,
sortings
1900
x1060
195D
Analyzing Polyline
geometry
,
math
,
sortings
1900
x996
120J
Minimum Sum
divide and conquer
,
geometry
,
sortings
1900
x905
529B
Group Photo 2 (online mirror version)
brute force
,
greedy
,
sortings
1900
x851
421D
Bug in Code
binary search
,
data structures
,
sortings
1900
x491
648D
Собачки и миски
data structures
,
greedy
,
sortings
1900
x220
1156C
Match Points
binary search
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x5736
1379C
Choosing flowers
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
two pointers
2000
x5389
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5001
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x4770
1657D
For Gamers. By Gamers.
binary search
,
brute force
,
greedy
,
math
,
sortings
2000
x4687
1487E
Cheap Dinner
brute force
,
data structures
,
graphs
,
greedy
,
implementation
,
sortings
,
two pointers
2000
x4352
1525C
Robot Collisions
data structures
,
greedy
,
implementation
,
sortings
2000
x4320
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4154
1408D
Searchlights
binary search
,
brute force
,
data structures
,
dp
,
implementation
,
sortings
,
two pointers
2000
x4151
864E
Fire
dp
,
sortings
2000
x4118
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4105
1514D
Cut and Stick
binary search
,
data structures
,
greedy
,
implementation
,
sortings
2000
x4068
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4031
1256E
Yet Another Division Into Teams
dp
,
greedy
,
sortings
2000
x3866
777E
Hanoi Factory
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x3849
1641B
Repetitions Decoding
constructive algorithms
,
implementation
,
sortings
2000
x3716
555B
Case of Fugitive
data structures
,
greedy
,
sortings
2000
x3676
1198C
Matching vs Independent Set
constructive algorithms
,
graphs
,
greedy
,
sortings
2000
x3243
1690G
Count the Trains
binary search
,
data structures
,
greedy
,
sortings
2000
x3213
1685B
Linguistics
greedy
,
implementation
,
sortings
,
strings
2000
x3147
1506F
Triangular Paths
constructive algorithms
,
graphs
,
math
,
shortest paths
,
sortings
2000
x3091
474E
Pillars
binary search
,
data structures
,
dp
,
sortings
,
trees
2000
x3075
388C
Fox and Card Game
games
,
greedy
,
sortings
2000
x3072
1256F
Equalizing Two Strings
constructive algorithms
,
sortings
,
strings
2000
x3045
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x2951
863E
Turn Off The TV
data structures
,
sortings
2000
x2933
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2887
1320C
World of Darkraft: Battle for Azathoth
brute force
,
data structures
,
sortings
2000
x2846
1209E1
Rotate Columns (easy version)
bitmasks
,
brute force
,
dp
,
greedy
,
sortings
2000
x2710
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2613
571B
Minimization
dp
,
greedy
,
sortings
2000
x2517
1214E
Petya and Construction Set
constructive algorithms
,
graphs
,
math
,
sortings
,
trees
2000
x2500
←
1
2
...
5
6
7
8
9
10
11
→
User lists
Name