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:
—
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
x49951
520B
Two Buttons
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
,
shortest paths
1400
x47625
580C
Kefa and Park
dfs and similar
,
graphs
,
trees
1500
x39489
115A
Party
dfs and similar
,
graphs
,
trees
900
x32658
1472C
Long Jumps
dp
,
graphs
1100
x29651
20C
Dijkstra?
graphs
,
shortest paths
1900
x29621
1360E
Polygon
dp
,
graphs
,
implementation
,
shortest paths
1300
x24331
939A
Love Triangle
graphs
800
x24124
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x23703
893C
Rumor
dfs and similar
,
graphs
,
greedy
1300
x21451
1944A
Destroying Bridges
graphs
,
greedy
,
math
800
x20395
217A
Ice Skating
brute force
,
dfs and similar
,
dsu
,
graphs
1200
x20302
1020B
Badge
brute force
,
dfs and similar
,
graphs
1000
x20100
1475C
Ball in Berland
combinatorics
,
graphs
,
math
1400
x19858
1559C
Mocha and Hiking
constructive algorithms
,
graphs
1200
x19619
977E
Cyclic Components
dfs and similar
,
dsu
,
graphs
1500
x19082
1327B
Princesses and Princes
brute force
,
graphs
,
greedy
1200
x18231
1829E
The Lakes
dfs and similar
,
dsu
,
graphs
,
implementation
1100
x18017
1418C
Mortal Kombat Tower
dp
,
graphs
,
greedy
,
shortest paths
1500
x18003
755A
PolandBall and Hypothesis
brute force
,
graphs
,
math
,
number theory
800
x17485
1661B
Getting Zero
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1300
x16897
1797A
Li Hua and Maze
constructive algorithms
,
flows
,
graphs
,
greedy
,
implementation
800
x16866
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x16712
330B
Road Construction
constructive algorithms
,
graphs
1300
x16310
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16053
1829F
Forever Winter
dfs and similar
,
graphs
,
math
1300
x15993
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x15972
862B
Mahmoud and Ehab and the bipartiteness
dfs and similar
,
graphs
,
trees
1300
x15838
839C
Journey
dfs and similar
,
dp
,
graphs
,
probabilities
,
trees
1500
x15806
522A
Reposts
*special problem
,
dfs and similar
,
dp
,
graphs
,
trees
1200
x15671
1579D
Productive Meeting
constructive algorithms
,
graphs
,
greedy
1400
x15263
1647B
Madoka and the Elegant Gift
brute force
,
constructive algorithms
,
graphs
,
implementation
1200
x15027
510C
Fox And Names
dfs and similar
,
graphs
,
sortings
1600
x14960
1552B
Running for Gold
combinatorics
,
graphs
,
greedy
,
sortings
1500
x14923
771A
Bear and Friendship Condition
dfs and similar
,
dsu
,
graphs
1500
x14558
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14516
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x14361
1638C
Inversion Graph
data structures
,
dsu
,
graphs
,
math
1300
x14324
1428B
Belted Rooms
graphs
,
implementation
1200
x14151
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x14020
1106D
Lunar New Year and a Wander
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
1500
x13846
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x13756
687A
NP-Hard Problem
dfs and similar
,
graphs
1500
x13705
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x13700
1487C
Minimum Ties
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
1500
x13649
1540A
Great Graphs
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
sortings
1400
x13648
437C
The Child and Toy
graphs
,
greedy
,
sortings
1400
x13458
948A
Protect Sheep
brute force
,
dfs and similar
,
graphs
,
implementation
900
x13329
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13183
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13147
1711B
Party
brute force
,
graphs
1300
x13075
295B
Greg and Graph
dp
,
graphs
,
shortest paths
1700
x13030
1033A
King Escape
dfs and similar
,
graphs
,
implementation
1000
x12887
427C
Checkposts
dfs and similar
,
graphs
,
two pointers
1700
x12878
707B
Bakery
graphs
1300
x12730
1675D
Vertical Paths
graphs
,
implementation
,
trees
1300
x12497
1328D
Carousel
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
1800
x12473
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12460
1830A
Copil Copac Draws Trees
dfs and similar
,
dp
,
graphs
,
trees
1400
x12295
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12266
1702E
Split Into Two Sets
dfs and similar
,
dsu
,
graphs
1600
x12210
1800E1
Unforgivable Curse (easy version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
strings
1400
x12056
505B
Mr. Kitayuta's Colorful Graph
dfs and similar
,
dp
,
dsu
,
graphs
1400
x11990
1800E2
Unforgivable Curse (hard version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1500
x11945
1726C
Jatayu's Balanced Bracket Sequence
data structures
,
dsu
,
graphs
,
greedy
1300
x11832
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x11796
1255B
Fridge Lockers
graphs
,
implementation
1100
x11655
129B
Students and Shoelaces
brute force
,
dfs and similar
,
graphs
,
implementation
1200
x11631
601A
The Two Routes
graphs
,
shortest paths
1600
x11385
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x11373
1893A
Anonymous Informant
brute force
,
dfs and similar
,
graphs
,
implementation
1400
x11123
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11018
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11008
1581B
Diameter of Graph
constructive algorithms
,
graphs
,
greedy
,
math
1200
x11001
1065B
Vasya and Isolated Vertices
constructive algorithms
,
graphs
1300
x10723
982C
Cut 'em all!
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1500
x10719
1144F
Graph Without Long Directed Paths
dfs and similar
,
graphs
1700
x10579
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10372
1055A
Metro
graphs
900
x10327
1695C
Zero Path
brute force
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
1700
x10325
598D
Igor In the Museum
dfs and similar
,
graphs
,
shortest paths
1700
x10279
25D
Roads not only in Berland
dsu
,
graphs
,
trees
1900
x10249
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10214
1833E
Round Dance
dfs and similar
,
dsu
,
graphs
,
shortest paths
1600
x10111
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x10066
370A
Rook, Bishop and King
graphs
,
math
,
shortest paths
1100
x9824
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9782
1735C
Phase Shift
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
1400
x9517
1670C
Where is the Pizza?
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
math
1400
x9464
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9377
369C
Valera and Elections
dfs and similar
,
graphs
,
trees
1600
x9361
1851E
Nastya and Potions
dfs and similar
,
dp
,
graphs
,
sortings
1500
x9312
1169B
Pairs
graphs
,
implementation
1500
x9283
919D
Substring
dfs and similar
,
dp
,
graphs
1700
x9263
246D
Colorful Graph
brute force
,
dfs and similar
,
graphs
1600
x9164
1761C
Set Construction
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
1400
x9123
1764C
Doremy's City Construction
graphs
,
greedy
1400
x9018
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x8943
1530D
Secret Santa
constructive algorithms
,
flows
,
graphs
,
greedy
,
math
1600
x8868
780C
Andryusha and Colored Balloons
dfs and similar
,
graphs
,
greedy
,
trees
1600
x8827
←
1
2
3
...
10
11
→
User lists
Name