Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
CodeCraft-22 and Codeforces Round #795 (Div. 2)
3 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
1620A
Equal or Not Equal
constructive algorithms
,
dsu
,
implementation
800
x18220
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x17078
217A
Ice Skating
brute force
,
dfs and similar
,
dsu
,
graphs
1200
x16231
277A
Learning Languages
dfs and similar
,
dsu
1400
x13937
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x13529
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x13419
977E
Cyclic Components
dfs and similar
,
dsu
,
graphs
1500
x13263
1167C
News Distribution
dfs and similar
,
dsu
,
graphs
1400
x12394
1592B
Hemose Shopping
constructive algorithms
,
dsu
,
math
,
sortings
1200
x12361
501B
Misha and Changing Handles
data structures
,
dsu
,
strings
1100
x12347
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x12059
1292A
NEKO's Maze Game
data structures
,
dsu
,
implementation
1400
x11863
771A
Bear and Friendship Condition
dfs and similar
,
dsu
,
graphs
1500
x11454
1638C
Inversion Graph
data structures
,
dsu
,
graphs
,
math
1300
x11400
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x10437
1263D
Secret Passwords
dfs and similar
,
dsu
,
graphs
1500
x10363
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x10182
356A
Knight Tournament
data structures
,
dsu
1500
x9826
505B
Mr. Kitayuta's Colorful Graph
dfs and similar
,
dp
,
dsu
,
graphs
1400
x9492
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x9404
445B
DZY Loves Chemistry
dfs and similar
,
dsu
,
greedy
1400
x9343
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x9135
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x8867
902B
Coloring a Tree
dfs and similar
,
dsu
,
greedy
1200
x8696
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x8434
500B
New Year Permutation
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
1600
x7765
959B
Mahmoud and Ehab and the message
dsu
,
greedy
,
implementation
1200
x7659
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x7553
600E
Lomsat gelral
data structures
,
dfs and similar
,
dsu
,
trees
2300
x7474
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x7466
1253D
Harmonious Graph
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
1700
x7291
1130C
Connect
brute force
,
dfs and similar
,
dsu
1400
x7148
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x7009
25D
Roads not only in Berland
dsu
,
graphs
,
trees
1900
x6843
515B
Drazil and His Happy Friends
brute force
,
dsu
,
meet-in-the-middle
,
number theory
1300
x6838
103B
Cthulhu
dfs and similar
,
dsu
,
graphs
1500
x6833
1209D
Cow and Snacks
dfs and similar
,
dsu
,
graphs
1700
x6786
722C
Destroying Array
data structures
,
dsu
1600
x6694
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x6646
409H
A + B Strikes Back
*special problem
,
brute force
,
constructive algorithms
,
dsu
,
implementation
1500
x6557
659E
New Reform
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
1600
x6357
547B
Mike and Feet
binary search
,
data structures
,
dp
,
dsu
1900
x6275
723D
Lakes in Berland
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
1600
x6028
731C
Socks
dfs and similar
,
dsu
,
graphs
,
greedy
1600
x5822
1670C
Where is the Pizza?
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
math
1400
x5818
939D
Love Rescue
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1600
x5774
1675E
Replace With the Previous, Minimize
dsu
,
greedy
,
strings
1500
x5764
1620E
Replace the Numbers
constructive algorithms
,
data structures
,
dsu
,
implementation
1900
x5660
490B
Queue
dsu
,
implementation
1500
x5231
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5223
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x5205
1594D
The Number of Imposters
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
graphs
1700
x5123
886C
Petya and Catacombs
dsu
,
greedy
,
implementation
,
trees
1300
x5083
1131F
Asya And Kittens
constructive algorithms
,
dsu
1700
x5061
843A
Sorting by Subsequences
dfs and similar
,
dsu
,
implementation
,
math
,
sortings
1400
x5025
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x5013
698B
Fix a Tree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
trees
1700
x4899
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x4775
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x4762
875B
Sorting the Coins
dsu
,
implementation
,
sortings
,
two pointers
1500
x4731
741B
Arpa's weak amphitheater and Mehrdad's valuable Hoses
dfs and similar
,
dp
,
dsu
1600
x4613
609E
Minimum spanning tree for each edge
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
2100
x4498
455C
Civilization
dfs and similar
,
dp
,
dsu
,
ternary search
,
trees
2100
x4294
1055B
Alice and Hairdresser
dsu
,
implementation
1300
x4268
691D
Swaps in Permutation
dfs and similar
,
dsu
,
math
1700
x4268
920F
SUM and REPLACE
brute force
,
data structures
,
dsu
,
number theory
2000
x4209
371D
Vessels
data structures
,
dsu
,
implementation
,
trees
1800
x4109
1095F
Make It Connected
dsu
,
graphs
,
greedy
1900
x4015
776D
The Door Problem
2-sat
,
dfs and similar
,
dsu
,
graphs
2000
x3864
920E
Connected Components?
data structures
,
dfs and similar
,
dsu
,
graphs
2100
x3840
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x3813
472D
Design Tutorial: Inverse the Problem
dfs and similar
,
dsu
,
shortest paths
,
trees
1900
x3797
1624G
MinOr Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x3757
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x3639
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x3636
60B
Serial Time!
dfs and similar
,
dsu
1400
x3570
13E
Holes
data structures
,
dsu
2700
x3361
817D
Imbalanced Array
data structures
,
divide and conquer
,
dsu
,
sortings
1900
x3227
17B
Hierarchy
dfs and similar
,
dsu
,
greedy
,
shortest paths
1500
x3216
1482D
Playlist
data structures
,
dsu
,
implementation
,
shortest paths
1900
x3212
1081D
Maximum Distance
dsu
,
graphs
,
shortest paths
,
sortings
1800
x3206
1012B
Chemical table
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
matrices
1900
x3205
468B
Two Sets
2-sat
,
dfs and similar
,
dsu
,
graph matchings
,
greedy
2000
x3171
28B
pSort
dfs and similar
,
dsu
,
graphs
1600
x3125
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3058
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x3054
670E
Correct Bracket Sequence Editor
data structures
,
dsu
,
strings
1700
x2906
437D
The Child and Zoo
dsu
,
sortings
1900
x2744
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x2743
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x2728
766D
Mahmoud and a Dictionary
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
2000
x2628
1131D
Gourmet choice
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
2000
x2609
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x2577
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2549
109C
Lucky Tree
dp
,
dsu
,
trees
1900
x2487
400D
Dima and Bacteria
dsu
,
graphs
,
shortest paths
2000
x2418
566D
Restructuring Company
data structures
,
dsu
1900
x2392
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x2382
436C
Dungeons and Candies
dsu
,
graphs
,
greedy
,
trees
1800
x2371
603B
Moodular Arithmetic
combinatorics
,
dfs and similar
,
dsu
,
math
,
number theory
1800
x2310
←
1
2
3
→
User lists
Name