Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2)
4 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dsu
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
977E
Cyclic Components
dfs and similar
,
dsu
,
graphs
1500
x19071
962G
Visible Black Areas
data structures
,
dsu
,
geometry
,
trees
2800
x124
959B
Mahmoud and Ehab and the message
dsu
,
greedy
,
implementation
1200
x9057
939D
Love Rescue
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1600
x7068
938G
Shortest Path Queries
bitmasks
,
data structures
,
dsu
,
graphs
2900
x851
936E
Iqea
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
shortest paths
,
trees
3400
x181
920F
SUM and REPLACE
brute force
,
data structures
,
dsu
,
number theory
2000
x6164
920E
Connected Components?
data structures
,
dfs and similar
,
dsu
,
graphs
2100
x5737
915F
Imbalance Value of a Tree
data structures
,
dsu
,
graphs
,
trees
2400
x2288
902B
Coloring a Tree
dfs and similar
,
dsu
,
greedy
1200
x10430
901C
Bipartite Segments
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
two pointers
2300
x1128
899E
Segments Removal
data structures
,
dsu
,
flows
,
implementation
,
two pointers
2000
x2722
896E
Welcome home, Chtholly
data structures
,
dsu
3100
x1955
891C
Envy
data structures
,
dsu
,
graphs
2300
x2205
886C
Petya and Catacombs
dsu
,
greedy
,
implementation
,
trees
1300
x5421
884E
Binary Matrix
dsu
2500
x662
875F
Royal Questions
dsu
,
graphs
,
greedy
2500
x1238
875B
Sorting the Coins
dsu
,
implementation
,
sortings
,
two pointers
1500
x5111
873F
Forbidden Indices
dsu
,
string suffix structures
,
strings
2400
x1284
870E
Points, Lines and Ready-made Titles
dfs and similar
,
dsu
,
graphs
,
trees
2300
x971
859E
Desk Disorder
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
trees
2100
x1636
843A
Sorting by Subsequences
dfs and similar
,
dsu
,
implementation
,
math
,
sortings
1400
x5518
817D
Imbalanced Array
data structures
,
divide and conquer
,
dsu
,
sortings
1900
x4376
813F
Bipartite Checking
data structures
,
dsu
,
graphs
2500
x1204
811E
Vladik and Entertaining Flags
data structures
,
dsu
,
graphs
2600
x784
788B
Weird journey
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2100
x2276
778C
Peterson Polyglot
brute force
,
dfs and similar
,
dsu
,
hashing
,
strings
,
trees
2500
x845
776D
The Door Problem
2-sat
,
dfs and similar
,
dsu
,
graphs
2000
x4765
771A
Bear and Friendship Condition
dfs and similar
,
dsu
,
graphs
1500
x14554
766D
Mahmoud and a Dictionary
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
2000
x3257
765D
Artsem and Saunders
constructive algorithms
,
dsu
,
math
1700
x2392
763E
Timofey and our friends animals
data structures
,
divide and conquer
,
dsu
2900
x472
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x10065
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x11362
750H
New Year and Snowy Grid
dfs and similar
,
dsu
,
graphs
,
interactive
3500
x186
741B
Arpa's weak amphitheater and Mehrdad's valuable Hoses
dfs and similar
,
dp
,
dsu
1600
x5121
733F
Drivers Dissatisfaction
data structures
,
dsu
,
graphs
,
trees
2200
x1087
731C
Socks
dfs and similar
,
dsu
,
graphs
,
greedy
1600
x6715
723F
st-Spanning Tree
dsu
,
graphs
,
greedy
,
implementation
2300
x1436
723D
Lakes in Berland
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
1600
x6796
722C
Destroying Array
data structures
,
dsu
1600
x8767
715C
Digit Tree
dfs and similar
,
divide and conquer
,
dsu
,
trees
2700
x1895
698B
Fix a Tree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
trees
1700
x5598
696E
...Wait for it...
data structures
,
dsu
,
trees
3000
x461
691D
Swaps in Permutation
dfs and similar
,
dsu
,
math
1700
x5226
687D
Dividing Kingdom II
brute force
,
data structures
,
dsu
,
graphs
,
sortings
2500
x848
679C
Bear and Square Grid
dfs and similar
,
dsu
,
implementation
2400
x1128
670E
Correct Bracket Sequence Editor
data structures
,
dsu
,
strings
1700
x3137
659F
Polycarp and Hay
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
2000
x1747
659E
New Reform
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
1600
x7286
653E
Bear and Forgotten Tree 2
dfs and similar
,
dsu
,
graphs
,
trees
2400
x1373
652E
Pursuit For Artifacts
dfs and similar
,
dsu
,
graphs
,
trees
2300
x1941
650E
Clockwork Bomb
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
3200
x583
650C
Table Compression
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2200
x1937
627F
Island Puzzle
dfs and similar
,
dsu
,
graphs
,
trees
3400
x228
609E
Minimum spanning tree for each edge
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
2100
x6882
603E
Pastoral Oddities
data structures
,
divide and conquer
,
dsu
,
math
,
trees
3000
x1147
603B
Moodular Arithmetic
combinatorics
,
dfs and similar
,
dsu
,
math
,
number theory
1800
x2532
601D
Acyclic Organic Compounds
data structures
,
dfs and similar
,
dsu
,
hashing
,
strings
,
trees
2400
x1081
600E
Lomsat gelral
data structures
,
dfs and similar
,
dsu
,
trees
2300
x12529
571D
Campus
binary search
,
data structures
,
dsu
,
trees
3100
x646
566D
Restructuring Company
data structures
,
dsu
1900
x3082
553C
Love Triangles
dfs and similar
,
dsu
,
graphs
2200
x1724
547B
Mike and Feet
binary search
,
data structures
,
dp
,
dsu
1900
x8167
516D
Drazil and Morning Exercise
dfs and similar
,
dp
,
dsu
,
trees
,
two pointers
2800
x1219
515B
Drazil and His Happy Friends
brute force
,
dsu
,
meet-in-the-middle
,
number theory
1300
x7352
506D
Mr. Kitayuta's Colorful Graph
brute force
,
dfs and similar
,
dsu
,
graphs
2400
x2011
505B
Mr. Kitayuta's Colorful Graph
dfs and similar
,
dp
,
dsu
,
graphs
1400
x11985
501B
Misha and Changing Handles
data structures
,
dsu
,
strings
1100
x15525
500E
New Year Domino
data structures
,
dp
,
dsu
2300
x1387
500B
New Year Permutation
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
1600
x8672
490B
Queue
dsu
,
implementation
1500
x5883
472D
Design Tutorial: Inverse the Problem
dfs and similar
,
dsu
,
shortest paths
,
trees
1900
x4974
471E
MUH and Lots and Lots of Segments
data structures
,
dsu
2700
x79
468B
Two Sets
2-sat
,
dfs and similar
,
dsu
,
graph matchings
,
greedy
2000
x3757
466E
Information Graph
dfs and similar
,
dsu
,
graphs
,
trees
2100
x2050
461D
Appleman and Complicated Task
dsu
,
math
2800
x354
455C
Civilization
dfs and similar
,
dp
,
dsu
,
ternary search
,
trees
2100
x5111
452E
Three strings
data structures
,
dsu
,
string suffix structures
,
strings
2400
x1021
445B
DZY Loves Chemistry
dfs and similar
,
dsu
,
greedy
1400
x11963
444E
DZY Loves Planting
binary search
,
dsu
,
trees
2700
x732
441D
Valera and Swaps
constructive algorithms
,
dsu
,
graphs
,
implementation
,
math
,
string suffix structures
2100
x1057
437D
The Child and Zoo
dsu
,
sortings
1900
x3129
436C
Dungeons and Candies
dsu
,
graphs
,
greedy
,
trees
1800
x2577
433D
Nanami's Digital Board
dsu
,
implementation
2000
x1034
409H
A + B Strikes Back
*special problem
,
brute force
,
constructive algorithms
,
dsu
,
implementation
1500
x8616
400D
Dima and Bacteria
dsu
,
graphs
,
shortest paths
2000
x2788
374E
Inna and Babies
binary search
,
data structures
,
dsu
,
geometry
,
implementation
2600
x175
371D
Vessels
data structures
,
dsu
,
implementation
,
trees
1800
x5208
366D
Dima and Trap Graph
binary search
,
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
two pointers
2000
x1266
362D
Fools and Foolproof Roads
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x891
358E
Dima and Kicks
brute force
,
dsu
,
graphs
,
implementation
2300
x383
356A
Knight Tournament
data structures
,
dsu
1500
x12690
325E
The Red Button
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
greedy
2800
x741
325D
Reclamation
dsu
2900
x483
313E
Ilya and Two Numbers
constructive algorithms
,
data structures
,
dsu
,
greedy
2300
x538
292D
Connected Components
data structures
,
dfs and similar
,
dp
,
dsu
1900
x2302
277A
Learning Languages
dfs and similar
,
dsu
1400
x18003
260D
Black and White Tree
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
2100
x1307
228E
The Road to Berland is Paved With Good Intentions
2-sat
,
dfs and similar
,
dsu
,
graphs
1900
x2303
←
1
2
3
4
→
User lists
Name