Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
43:43:56
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
graphs
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
x50351
520B
Two Buttons
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
,
shortest paths
1400
x48048
580C
Kefa and Park
dfs and similar
,
graphs
,
trees
1500
x39880
115A
Party
dfs and similar
,
graphs
,
trees
900
x32877
1472C
Long Jumps
dp
,
graphs
1100
x30075
20C
Dijkstra?
graphs
,
shortest paths
1900
x29989
1360E
Polygon
dp
,
graphs
,
implementation
,
shortest paths
1300
x24444
939A
Love Triangle
graphs
800
x24301
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x23819
893C
Rumor
dfs and similar
,
graphs
,
greedy
1300
x21712
1944A
Destroying Bridges
graphs
,
greedy
,
math
800
x21270
217A
Ice Skating
brute force
,
dfs and similar
,
dsu
,
graphs
1200
x20400
1020B
Badge
brute force
,
dfs and similar
,
graphs
1000
x20231
1475C
Ball in Berland
combinatorics
,
graphs
,
math
1400
x20002
1559C
Mocha and Hiking
constructive algorithms
,
graphs
1200
x19743
977E
Cyclic Components
dfs and similar
,
dsu
,
graphs
1500
x19292
1327B
Princesses and Princes
brute force
,
graphs
,
greedy
1200
x18319
1829E
The Lakes
dfs and similar
,
dsu
,
graphs
,
implementation
1100
x18275
1418C
Mortal Kombat Tower
dp
,
graphs
,
greedy
,
shortest paths
1500
x18249
755A
PolandBall and Hypothesis
brute force
,
graphs
,
math
,
number theory
800
x17536
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x17091
1661B
Getting Zero
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1300
x17014
1797A
Li Hua and Maze
constructive algorithms
,
flows
,
graphs
,
greedy
,
implementation
800
x16949
330B
Road Construction
constructive algorithms
,
graphs
1300
x16370
1829F
Forever Winter
dfs and similar
,
graphs
,
math
1300
x16232
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16182
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x16039
862B
Mahmoud and Ehab and the bipartiteness
dfs and similar
,
graphs
,
trees
1300
x16032
839C
Journey
dfs and similar
,
dp
,
graphs
,
probabilities
,
trees
1500
x15931
522A
Reposts
*special problem
,
dfs and similar
,
dp
,
graphs
,
trees
1200
x15726
1579D
Productive Meeting
constructive algorithms
,
graphs
,
greedy
1400
x15427
510C
Fox And Names
dfs and similar
,
graphs
,
sortings
1600
x15160
1647B
Madoka and the Elegant Gift
brute force
,
constructive algorithms
,
graphs
,
implementation
1200
x15073
1552B
Running for Gold
combinatorics
,
graphs
,
greedy
,
sortings
1500
x14985
771A
Bear and Friendship Condition
dfs and similar
,
dsu
,
graphs
1500
x14653
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14558
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x14506
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14505
1638C
Inversion Graph
data structures
,
dsu
,
graphs
,
math
1300
x14381
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x14253
1428B
Belted Rooms
graphs
,
implementation
1200
x14179
1106D
Lunar New Year and a Wander
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
1500
x13942
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x13876
687A
NP-Hard Problem
dfs and similar
,
graphs
1500
x13784
1487C
Minimum Ties
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
1500
x13708
1540A
Great Graphs
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
sortings
1400
x13689
437C
The Child and Toy
graphs
,
greedy
,
sortings
1400
x13518
948A
Protect Sheep
brute force
,
dfs and similar
,
graphs
,
implementation
900
x13395
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13308
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13250
295B
Greg and Graph
dp
,
graphs
,
shortest paths
1700
x13136
1711B
Party
brute force
,
graphs
1300
x13127
427C
Checkposts
dfs and similar
,
graphs
,
two pointers
1700
x12988
1033A
King Escape
dfs and similar
,
graphs
,
implementation
1000
x12983
707B
Bakery
graphs
1300
x12767
1675D
Vertical Paths
graphs
,
implementation
,
trees
1300
x12583
1328D
Carousel
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
1800
x12578
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12509
1830A
Copil Copac Draws Trees
dfs and similar
,
dp
,
graphs
,
trees
1400
x12485
1702E
Split Into Two Sets
dfs and similar
,
dsu
,
graphs
1600
x12381
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12323
1800E1
Unforgivable Curse (easy version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
strings
1400
x12171
505B
Mr. Kitayuta's Colorful Graph
dfs and similar
,
dp
,
dsu
,
graphs
1400
x12102
1800E2
Unforgivable Curse (hard version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1500
x12081
1726C
Jatayu's Balanced Bracket Sequence
data structures
,
dsu
,
graphs
,
greedy
1300
x12079
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12046
129B
Students and Shoelaces
brute force
,
dfs and similar
,
graphs
,
implementation
1200
x11711
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x11704
1255B
Fridge Lockers
graphs
,
implementation
1100
x11683
601A
The Two Routes
graphs
,
shortest paths
1600
x11449
1893A
Anonymous Informant
brute force
,
dfs and similar
,
graphs
,
implementation
1400
x11295
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x11242
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11063
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11061
1581B
Diameter of Graph
constructive algorithms
,
graphs
,
greedy
,
math
1200
x11044
982C
Cut 'em all!
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1500
x10849
1144F
Graph Without Long Directed Paths
dfs and similar
,
graphs
1700
x10806
1065B
Vasya and Isolated Vertices
constructive algorithms
,
graphs
1300
x10768
598D
Igor In the Museum
dfs and similar
,
graphs
,
shortest paths
1700
x10545
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10457
25D
Roads not only in Berland
dsu
,
graphs
,
trees
1900
x10399
1055A
Metro
graphs
900
x10393
1695C
Zero Path
brute force
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
1700
x10389
1833E
Round Dance
dfs and similar
,
dsu
,
graphs
,
shortest paths
1600
x10347
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10239
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x10134
370A
Rook, Bishop and King
graphs
,
math
,
shortest paths
1100
x9924
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9831
1735C
Phase Shift
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
1400
x9589
1670C
Where is the Pizza?
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
math
1400
x9522
1169B
Pairs
graphs
,
implementation
1500
x9476
1851E
Nastya and Potions
dfs and similar
,
dp
,
graphs
,
sortings
1500
x9471
369C
Valera and Elections
dfs and similar
,
graphs
,
trees
1600
x9449
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9444
919D
Substring
dfs and similar
,
dp
,
graphs
1700
x9355
246D
Colorful Graph
brute force
,
dfs and similar
,
graphs
1600
x9210
1761C
Set Construction
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
1400
x9179
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x9112
1764C
Doremy's City Construction
graphs
,
greedy
1400
x9072
1530D
Secret Santa
constructive algorithms
,
flows
,
graphs
,
greedy
,
math
1600
x8894
←
1
2
3
...
10
11
→
User lists
Name