Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
4 days
→ Filter Problems
Difficulty:
—
dfs and similar
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
500A
New Year Transportation
dfs and similar
,
graphs
,
implementation
1000
x50321
520B
Two Buttons
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
,
shortest paths
1400
x48018
489B
BerSU Ball
dfs and similar
,
dp
,
graph matchings
,
greedy
,
sortings
,
two pointers
1200
x46620
580C
Kefa and Park
dfs and similar
,
graphs
,
trees
1500
x39847
115A
Party
dfs and similar
,
graphs
,
trees
900
x32863
445A
DZY Loves Chessboard
dfs and similar
,
implementation
1200
x28264
1324C
Frog Jumps
binary search
,
data structures
,
dfs and similar
,
greedy
,
implementation
1100
x26926
1593B
Make it Divisible by 25
dfs and similar
,
dp
,
greedy
,
math
,
math
900
x25233
1829D
Gold Rush
brute force
,
dfs and similar
,
dp
,
implementation
1000
x24263
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x23798
1598A
Computer Game
brute force
,
dfs and similar
,
dp
,
implementation
800
x22789
1433D
Districts Connection
constructive algorithms
,
dfs and similar
1200
x21777
893C
Rumor
dfs and similar
,
graphs
,
greedy
1300
x21701
377A
Maze
dfs and similar
1600
x21403
217A
Ice Skating
brute force
,
dfs and similar
,
dsu
,
graphs
1200
x20387
1020B
Badge
brute force
,
dfs and similar
,
graphs
1000
x20223
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x19364
977E
Cyclic Components
dfs and similar
,
dsu
,
graphs
1500
x19276
1490D
Permutation Transformation
dfs and similar
,
divide and conquer
,
implementation
1200
x18841
1311B
WeirdSort
dfs and similar
,
sortings
1200
x18491
1829E
The Lakes
dfs and similar
,
dsu
,
graphs
,
implementation
1100
x18248
277A
Learning Languages
dfs and similar
,
dsu
1400
x18123
977D
Divide by three, multiply by two
dfs and similar
,
math
,
sortings
1400
x17629
1669G
Fall Down
dfs and similar
,
implementation
1200
x17366
546C
Soldier and Cards
brute force
,
dfs and similar
,
games
1400
x17076
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x17073
1843D
Apple Tree
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
1200
x17054
1661B
Getting Zero
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1300
x17006
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x16630
1352F
Binary String Reconstruction
constructive algorithms
,
dfs and similar
,
math
1500
x16265
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16258
1829F
Forever Winter
dfs and similar
,
graphs
,
math
1300
x16205
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16169
862B
Mahmoud and Ehab and the bipartiteness
dfs and similar
,
graphs
,
trees
1300
x16010
839C
Journey
dfs and similar
,
dp
,
graphs
,
probabilities
,
trees
1500
x15922
522A
Reposts
*special problem
,
dfs and similar
,
dp
,
graphs
,
trees
1200
x15721
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15684
510C
Fox And Names
dfs and similar
,
graphs
,
sortings
1600
x15144
771A
Bear and Friendship Condition
dfs and similar
,
dsu
,
graphs
1500
x14646
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x14495
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14456
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x14239
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x14057
1106D
Lunar New Year and a Wander
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
1500
x13938
1623B
Game on Ranges
brute force
,
dfs and similar
,
implementation
,
sortings
1100
x13908
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x13886
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x13867
687A
NP-Hard Problem
dfs and similar
,
graphs
1500
x13779
1487C
Minimum Ties
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
1500
x13703
161D
Distance in Tree
dfs and similar
,
dp
,
trees
1800
x13599
510B
Fox And Two Dots
dfs and similar
1500
x13424
948A
Protect Sheep
brute force
,
dfs and similar
,
graphs
,
implementation
900
x13389
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13303
727A
Transformation: from A to B
brute force
,
dfs and similar
,
math
1000
x13211
1517C
Fillomino 2
constructive algorithms
,
dfs and similar
,
greedy
,
implementation
1400
x13069
1033A
King Escape
dfs and similar
,
graphs
,
implementation
1000
x12977
427C
Checkposts
dfs and similar
,
graphs
,
two pointers
1700
x12976
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x12963
600E
Lomsat gelral
data structures
,
dfs and similar
,
dsu
,
trees
2300
x12692
1830A
Copil Copac Draws Trees
dfs and similar
,
dp
,
graphs
,
trees
1400
x12466
1702E
Split Into Two Sets
dfs and similar
,
dsu
,
graphs
1600
x12367
445B
DZY Loves Chemistry
dfs and similar
,
dsu
,
greedy
1400
x12120
505B
Mr. Kitayuta's Colorful Graph
dfs and similar
,
dp
,
dsu
,
graphs
1400
x12099
1800E2
Unforgivable Curse (hard version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1500
x12072
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12039
1303C
Perfect Keyboard
dfs and similar
,
greedy
,
implementation
1600
x11830
129B
Students and Shoelaces
brute force
,
dfs and similar
,
graphs
,
implementation
1200
x11706
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x11700
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x11696
910A
The Way to Home
dfs and similar
,
dp
,
greedy
,
implementation
800
x11392
1143C
Queen
dfs and similar
,
trees
1400
x11391
1893A
Anonymous Informant
brute force
,
dfs and similar
,
graphs
,
implementation
1400
x11282
1182B
Plus from Picture
dfs and similar
,
implementation
,
strings
1300
x10987
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x10978
441C
Valera and Tubes
constructive algorithms
,
dfs and similar
,
implementation
1500
x10848
982C
Cut 'em all!
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1500
x10841
1144F
Graph Without Long Directed Paths
dfs and similar
,
graphs
1700
x10794
598D
Igor In the Museum
dfs and similar
,
graphs
,
shortest paths
1700
x10538
1689C
Infected Tree
dfs and similar
,
dp
,
trees
1600
x10504
902B
Coloring a Tree
dfs and similar
,
dsu
,
greedy
1200
x10483
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10447
1900C
Anji's Binary Tree
dfs and similar
,
dp
,
trees
1300
x10442
1833E
Round Dance
dfs and similar
,
dsu
,
graphs
,
shortest paths
1600
x10331
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x10128
429A
Xor-tree
dfs and similar
,
trees
1300
x10001
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9830
1735C
Phase Shift
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
1400
x9585
1670C
Where is the Pizza?
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
math
1400
x9522
1861C
Queries for the Array
data structures
,
dfs and similar
,
implementation
,
strings
,
trees
1600
x9475
1851E
Nastya and Potions
dfs and similar
,
dp
,
graphs
,
sortings
1500
x9454
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9439
369C
Valera and Elections
dfs and similar
,
graphs
,
trees
1600
x9436
1388C
Uncle Bogdan and Country Happiness
dfs and similar
,
greedy
,
math
,
trees
1800
x9351
919D
Substring
dfs and similar
,
dp
,
graphs
1700
x9335
1681D
Required Length
brute force
,
dfs and similar
,
dp
,
hashing
,
shortest paths
1700
x9274
246D
Colorful Graph
brute force
,
dfs and similar
,
graphs
1600
x9203
1761C
Set Construction
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
1400
x9174
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x9103
920C
Swap Adjacent Elements
dfs and similar
,
greedy
,
math
,
sortings
,
two pointers
1400
x8999
1401D
Maximum Distributed Tree
dfs and similar
,
dp
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
trees
1800
x8865
←
1
2
3
...
8
9
→
User lists
Name