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
2 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
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x15542
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1046
1578B
Building Forest Trails
data structures
,
dsu
2800
x321
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3624
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x569
1567F
One-Four Overload
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
2700
x726
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2519
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13147
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x301
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x826
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x969
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3227
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x624
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2352
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12460
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1793
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1678
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5001
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1415
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2483
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3722
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8371
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3864
1468B
Bakery
data structures
,
dsu
2900
x196
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2786
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1430
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1450
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4293
1434E
A Convex Game
dsu
,
games
3500
x161
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x505
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x473
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1812
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7746
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x917
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1872
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1131
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x886
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x426
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1294
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10215
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1894
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9071
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16054
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1373
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5766
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x1955
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15544
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x562
1305G
Kuroni and Antihype
bitmasks
,
brute force
,
dp
,
dsu
,
graphs
3500
x935
1303F
Number of Components
dsu
,
implementation
2800
x509
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x12914
1290C
Prefix Enlightenment
dfs and similar
,
dsu
,
graphs
2400
x1512
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3678
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4661
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13183
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x258
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1573
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x8810
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16197
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20043
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x6841
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x6948
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x632
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2539
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x537
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6574
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2311
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x2851
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x8779
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x487
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10374
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x16713
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x682
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2736
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3523
1140F
Extending Set of Points
data structures
,
divide and conquer
,
dsu
2600
x1107
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x11798
1133F2
Spanning Tree with One Fixed Degree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x2953
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x6190
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x3014
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x8294
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1255
1108F
MST Unification
binary search
,
dsu
,
graphs
,
greedy
2100
x2541
1107G
Vasya and Maximum Profit
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
2400
x984
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x5782
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3872
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4888
1051G
Distinctification
data structures
,
dsu
,
greedy
2900
x346
1044D
Deduction Queries
data structures
,
dsu
2400
x966
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1232
1039C
Network Safety
dfs and similar
,
dsu
,
graphs
,
math
,
sortings
2200
x1311
1027F
Session in BSU
binary search
,
dfs and similar
,
dsu
,
graph matchings
,
graphs
2400
x1503
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x856
1012E
Cycle sort
dsu
,
math
3100
x267
1012B
Chemical table
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
matrices
1900
x3643
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5056
990G
GCD Counting
divide and conquer
,
dp
,
dsu
,
number theory
,
trees
2400
x1699
986C
AND Graph
bitmasks
,
dfs and similar
,
dsu
,
graphs
2500
x2180
982D
Shark
brute force
,
data structures
,
dsu
,
trees
1900
x2236
979D
Kuro and GCD and XOR and SUM
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
math
,
number theory
,
strings
,
trees
2200
x1676
←
1
2
3
4
→
User lists
Name