Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 964 (Div. 4)
06:49:07
Register now »
→ 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
1620E
Replace the Numbers
constructive algorithms
,
data structures
,
dsu
,
implementation
1900
x8062
1620A
Equal or Not Equal
constructive algorithms
,
dsu
,
implementation
800
x21450
1619G
Unusual Minesweeper
binary search
,
dfs and similar
,
dsu
,
greedy
,
sortings
2000
x2360
1618G
Trader Problem
data structures
,
dsu
,
greedy
,
sortings
2200
x1530
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1867
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7205
1594D
The Number of Imposters
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
graphs
1700
x7331
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x15789
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1087
1578B
Building Forest Trails
data structures
,
dsu
2800
x329
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3720
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x599
1567F
One-Four Overload
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
2700
x737
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2601
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13581
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x315
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x840
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x995
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3287
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x656
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2435
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12688
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1881
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1740
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5235
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1450
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2531
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3819
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8529
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x4098
1468B
Bakery
data structures
,
dsu
2900
x209
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2857
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1480
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1565
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4437
1434E
A Convex Game
dsu
,
games
3500
x169
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x515
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x487
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x2000
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7927
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x1014
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1960
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1171
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x951
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x464
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1537
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10521
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x2150
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9497
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16931
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1610
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x6021
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x2169
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x16321
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x576
1305G
Kuroni and Antihype
bitmasks
,
brute force
,
dp
,
dsu
,
graphs
3500
x967
1303F
Number of Components
dsu
,
implementation
2800
x519
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x13163
1290C
Prefix Enlightenment
dfs and similar
,
dsu
,
graphs
2400
x1715
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3927
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4902
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13771
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x263
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1682
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x9104
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16627
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20511
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7343
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x7397
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x644
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2719
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x564
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x7059
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2546
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x3143
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x9139
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x502
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10837
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x17848
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x691
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2940
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3808
1140F
Extending Set of Points
data structures
,
divide and conquer
,
dsu
2600
x1185
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12361
1133F2
Spanning Tree with One Fixed Degree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3305
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x6558
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x3206
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x8491
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1312
1108F
MST Unification
binary search
,
dsu
,
graphs
,
greedy
2100
x2813
1107G
Vasya and Maximum Profit
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
2400
x1029
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x6044
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3961
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4966
1051G
Distinctification
data structures
,
dsu
,
greedy
2900
x386
1044D
Deduction Queries
data structures
,
dsu
2400
x990
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1292
1039C
Network Safety
dfs and similar
,
dsu
,
graphs
,
math
,
sortings
2200
x1317
1027F
Session in BSU
binary search
,
dfs and similar
,
dsu
,
graph matchings
,
graphs
2400
x1528
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x872
←
1
2
3
4
→
User lists
Name