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
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
1594D
The Number of Imposters
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
graphs
1700
x7107
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x15592
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1053
1578B
Building Forest Trails
data structures
,
dsu
2800
x321
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3649
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x585
1567F
One-Four Overload
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
2700
x728
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2536
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13245
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x307
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x829
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x974
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3240
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x628
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2359
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12498
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1806
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1686
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5052
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1424
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2497
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3735
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8393
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3917
1468B
Bakery
data structures
,
dsu
2900
x207
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2794
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1454
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1459
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4312
1434E
A Convex Game
dsu
,
games
3500
x164
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x509
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x474
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1873
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7773
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x926
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1877
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1142
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x902
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x430
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1327
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10237
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1915
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9133
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16169
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1385
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5774
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x1989
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15684
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x568
1305G
Kuroni and Antihype
bitmasks
,
brute force
,
dp
,
dsu
,
graphs
3500
x946
1303F
Number of Components
dsu
,
implementation
2800
x515
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x12939
1290C
Prefix Enlightenment
dfs and similar
,
dsu
,
graphs
2400
x1534
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3727
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4668
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13303
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x259
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1581
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x8846
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16258
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20129
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x6913
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x6982
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x637
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2542
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x541
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6624
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2335
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x2870
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x8823
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x492
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10447
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x17074
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x686
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2754
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3686
1140F
Extending Set of Points
data structures
,
divide and conquer
,
dsu
2600
x1121
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12040
1133F2
Spanning Tree with One Fixed Degree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3118
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x6394
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x3165
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x8328
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1265
1108F
MST Unification
binary search
,
dsu
,
graphs
,
greedy
2100
x2563
1107G
Vasya and Maximum Profit
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
2400
x989
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x5855
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3888
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4895
1051G
Distinctification
data structures
,
dsu
,
greedy
2900
x364
1044D
Deduction Queries
data structures
,
dsu
2400
x971
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1238
1039C
Network Safety
dfs and similar
,
dsu
,
graphs
,
math
,
sortings
2200
x1312
1027F
Session in BSU
binary search
,
dfs and similar
,
dsu
,
graph matchings
,
graphs
2400
x1506
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x862
1012E
Cycle sort
dsu
,
math
3100
x271
1012B
Chemical table
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
matrices
1900
x3653
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5117
990G
GCD Counting
divide and conquer
,
dp
,
dsu
,
number theory
,
trees
2400
x1730
986C
AND Graph
bitmasks
,
dfs and similar
,
dsu
,
graphs
2500
x2193
982D
Shark
brute force
,
data structures
,
dsu
,
trees
1900
x2245
←
1
2
3
4
→
User lists
Name