Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 943 (Div. 3)
08:42:31
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
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x15562
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1051
1578B
Building Forest Trails
data structures
,
dsu
2800
x321
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3642
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x584
1567F
One-Four Overload
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
2700
x727
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2525
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13192
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x306
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
x971
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3233
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x627
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2355
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12479
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1803
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1683
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5030
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1419
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2489
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3729
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8378
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3892
1468B
Bakery
data structures
,
dsu
2900
x200
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2793
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1443
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1456
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4300
1434E
A Convex Game
dsu
,
games
3500
x164
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x506
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
x1839
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7759
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x926
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1874
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1138
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x892
1386C
Joker
*special problem
,
bitmasks
,
data structures
,
divide and conquer
,
dsu
2800
x429
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1323
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10228
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1911
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9116
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16115
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1382
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5773
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x1961
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15594
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x566
1305G
Kuroni and Antihype
bitmasks
,
brute force
,
dp
,
dsu
,
graphs
3500
x939
1303F
Number of Components
dsu
,
implementation
2800
x510
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x12931
1290C
Prefix Enlightenment
dfs and similar
,
dsu
,
graphs
2400
x1533
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3721
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4664
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x13250
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x259
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1576
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x8828
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16237
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20099
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x6877
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x6959
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x634
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2540
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
x6600
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2331
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x2862
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x8801
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x492
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10418
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x16980
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x685
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2745
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3679
1140F
Extending Set of Points
data structures
,
divide and conquer
,
dsu
2600
x1113
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x11982
1133F2
Spanning Tree with One Fixed Degree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3107
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x6364
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x3112
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x8308
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1262
1108F
MST Unification
binary search
,
dsu
,
graphs
,
greedy
2100
x2548
1107G
Vasya and Maximum Profit
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
2400
x988
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x5840
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3875
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4892
1051G
Distinctification
data structures
,
dsu
,
greedy
2900
x363
1044D
Deduction Queries
data structures
,
dsu
2400
x968
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1237
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
x1504
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x860
1012E
Cycle sort
dsu
,
math
3100
x269
1012B
Chemical table
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
matrices
1900
x3647
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5087
990G
GCD Counting
divide and conquer
,
dp
,
dsu
,
number theory
,
trees
2400
x1722
986C
AND Graph
bitmasks
,
dfs and similar
,
dsu
,
graphs
2500
x2187
982D
Shark
brute force
,
data structures
,
dsu
,
trees
1900
x2244
979D
Kuro and GCD and XOR and SUM
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
math
,
number theory
,
strings
,
trees
2200
x1683
←
1
2
3
4
→
User lists
Name