Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 954 (Div. 3)
5 days
→ 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
1619G
Unusual Minesweeper
binary search
,
dfs and similar
,
dsu
,
greedy
,
sortings
2000
x2329
1618G
Trader Problem
data structures
,
dsu
,
greedy
,
sortings
2200
x1496
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1850
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7056
1594D
The Number of Imposters
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
graphs
1700
x7188
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x15671
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1064
1578B
Building Forest Trails
data structures
,
dsu
2800
x322
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3677
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x593
1567F
One-Four Overload
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
2700
x732
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2554
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13366
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x311
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x833
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x983
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3260
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x636
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2380
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12594
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1824
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1705
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5116
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1435
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2511
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3749
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8439
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3940
1468B
Bakery
data structures
,
dsu
2900
x209
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2804
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1466
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1469
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4334
1434E
A Convex Game
dsu
,
games
3500
x167
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x513
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x477
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1897
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7805
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x934
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1888
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1151
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x911
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x440
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1333
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10271
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1925
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9212
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16441
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1445
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5846
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x2010
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15929
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x571
1305G
Kuroni and Antihype
bitmasks
,
brute force
,
dp
,
dsu
,
graphs
3500
x956
1303F
Number of Components
dsu
,
implementation
2800
x517
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x13116
1290C
Prefix Enlightenment
dfs and similar
,
dsu
,
graphs
2400
x1687
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3899
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4819
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13507
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x262
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1593
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x9015
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16491
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20381
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7158
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x7176
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x642
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2692
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x557
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6879
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2501
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x3088
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x9028
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x495
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10607
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x17395
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x688
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2828
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3736
1140F
Extending Set of Points
data structures
,
divide and conquer
,
dsu
2600
x1142
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12151
1133F2
Spanning Tree with One Fixed Degree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3165
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x6422
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x3186
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x8372
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1278
1108F
MST Unification
binary search
,
dsu
,
graphs
,
greedy
2100
x2629
1107G
Vasya and Maximum Profit
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
2400
x994
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x5922
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3921
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4923
1051G
Distinctification
data structures
,
dsu
,
greedy
2900
x380
1044D
Deduction Queries
data structures
,
dsu
2400
x976
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1246
1039C
Network Safety
dfs and similar
,
dsu
,
graphs
,
math
,
sortings
2200
x1314
1027F
Session in BSU
binary search
,
dfs and similar
,
dsu
,
graph matchings
,
graphs
2400
x1513
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x865
1012E
Cycle sort
dsu
,
math
3100
x274
1012B
Chemical table
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
matrices
1900
x3665
←
1
2
3
4
→
User lists
Name