Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Contest is running
2023 Post World Finals Online ICPC Challenge powered by Huawei
13 days
Register now »
Before contest
Kotlin Heroes: Practice 10
01:18:12
Register now »
→ Filter Problems
Difficulty:
—
combinatorics
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
997D
Cycles in product
combinatorics
,
divide and conquer
,
trees
2900
x424
698F
Coprime Permutation
combinatorics
,
number theory
3000
x429
1725E
Electrical Efficiency
combinatorics
,
data structures
,
dp
,
math
,
number theory
,
trees
2500
x432
306C
White, Black and White Again
combinatorics
,
number theory
2100
x437
1517F
Reunion
combinatorics
,
dp
,
trees
3200
x438
750G
New Year and Binary Tree Paths
bitmasks
,
brute force
,
combinatorics
,
dp
3200
x440
229E
Gifts
combinatorics
,
dp
,
math
,
probabilities
2600
x450
305D
Olya and Graph
combinatorics
,
math
2200
x453
985G
Team Players
combinatorics
2700
x457
833C
Ever-Hungry Krakozyabra
brute force
,
combinatorics
,
greedy
,
math
2700
x460
176C
Playing with Superglue
combinatorics
,
constructive algorithms
2000
x464
878E
Numbers on the blackboard
combinatorics
,
dp
3300
x472
1747E
List Generation
combinatorics
,
dp
,
math
2900
x484
1651E
Sum of Matchings
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
greedy
,
math
2600
x494
1436F
Sum Over Subsets
combinatorics
,
math
,
number theory
2800
x496
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x502
1528E
Mashtali and Hagh Trees
combinatorics
,
dp
,
trees
2900
x503
1085G
Beautiful Matrix
combinatorics
,
data structures
,
dp
2900
x506
1713F
Lost Array
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
math
2900
x508
1118F2
Tree Cutting (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
trees
2700
x510
653G
Move by Prime
combinatorics
,
math
,
number theory
3100
x515
896D
Nephren Runs a Cinema
chinese remainder theorem
,
combinatorics
,
math
,
number theory
2900
x516
1608F
MEX counting
combinatorics
,
dp
,
implementation
3200
x518
1221G
Graph And Numbers
bitmasks
,
brute force
,
combinatorics
,
dp
,
meet-in-the-middle
2900
x519
482D
Random Function and Tree
combinatorics
,
dp
,
trees
2700
x520
856C
Eleventh Birthday
combinatorics
,
dp
,
math
2400
x523
946F
Fibonacci String Subsequences
combinatorics
,
dp
,
matrices
2400
x529
623E
Transforming Sequence
combinatorics
,
dp
,
fft
,
math
3300
x533
1060F
Shrinking Tree
combinatorics
,
dp
2900
x534
215E
Periodical Numbers
combinatorics
,
dp
,
number theory
2100
x538
852F
Product transformation
combinatorics
,
math
,
number theory
2200
x542
954H
Path Counting
combinatorics
,
dp
2500
x553
1863G
Swaps
combinatorics
,
dp
,
graphs
,
math
2800
x556
15E
Triangles
combinatorics
,
dp
2600
x556
1487G
String Counting
combinatorics
,
dp
,
fft
,
math
2700
x575
392C
Yet Another Number Sequence
combinatorics
,
math
,
matrices
x576
1707D
Partial Virtual Trees
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
3000
x582
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x584
1545C
AquaMoon and Permutations
2-sat
,
brute force
,
combinatorics
,
constructive algorithms
,
graph matchings
,
graphs
2800
x584
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x585
123C
Brackets
combinatorics
,
dp
,
greedy
2300
x588
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x589
1503E
2-Coloring
combinatorics
,
dp
,
math
3100
x592
815D
Karen and Cards
binary search
,
combinatorics
,
data structures
,
geometry
2800
x595
1906H
Twin Friends
combinatorics
,
dp
2200
x603
1762E
Tree Sum
combinatorics
,
math
,
trees
2600
x606
1770F
Koxia and Sequence
bitmasks
,
combinatorics
,
dp
,
math
,
number theory
3100
x613
1730E
Maximums and Minimums
combinatorics
,
data structures
,
divide and conquer
,
number theory
2700
x615
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x621
1667E
Centroid Probabilities
combinatorics
,
dp
,
fft
,
math
3000
x623
1895F
Fancy Arrays
combinatorics
,
dp
,
math
,
matrices
2600
x625
1906J
Count BFS Graph
combinatorics
,
dp
2100
x630
295D
Greg and Caves
combinatorics
,
dp
2400
x634
814E
An unavoidable detour for home
combinatorics
,
dp
,
graphs
,
shortest paths
2600
x640
1808E2
Minibuses on Venus (medium version)
combinatorics
,
divide and conquer
,
dp
,
matrices
2500
x646
1336E1
Chiori and Doll Picking (easy version)
bitmasks
,
brute force
,
combinatorics
,
math
2700
x647
40E
Number Table
combinatorics
2500
x654
1731F
Function Sum
brute force
,
combinatorics
,
dp
,
fft
,
math
2500
x658
1673E
Power or XOR?
bitmasks
,
combinatorics
,
math
,
number theory
2500
x660
1097G
Vladislav and a Great Legend
combinatorics
,
dp
,
trees
3000
x662
1613F
Tree Coloring
combinatorics
,
divide and conquer
,
fft
2600
x665
1792F1
Graph Coloring (easy version)
combinatorics
,
dp
,
graphs
2700
x667
1392H
ZS Shuffles Cards
combinatorics
,
dp
,
math
,
probabilities
3000
x668
288D
Polo the Penguin and Trees
combinatorics
,
dfs and similar
,
trees
2400
x674
506E
Mr. Kitayuta's Gift
combinatorics
,
dp
,
matrices
,
strings
3000
x685
1866M
Mighty Rock Tower
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2400
x687
1662N
Drone Photo
combinatorics
,
math
,
sortings
x688
1799G
Count Voting
combinatorics
,
dp
,
math
2600
x697
1821F
Timber
combinatorics
,
dp
,
fft
,
math
2600
x704
1626F
A Random Code Problem
combinatorics
,
dp
,
math
,
number theory
,
probabilities
2800
x706
1185G2
Playlist for Polycarp (hard version)
combinatorics
,
dp
2600
x708
283E
Cow Tennis Tournament
combinatorics
,
data structures
,
math
2800
x716
111D
Petya and Coloring
combinatorics
,
dp
2300
x716
501E
Misha and Palindrome Degree
binary search
,
combinatorics
,
implementation
2500
x718
323A
Black-and-White Cube
combinatorics
,
constructive algorithms
1600
x719
809C
Find a car
combinatorics
,
divide and conquer
,
dp
2600
x726
1781F
Bracket Insertion
combinatorics
,
dp
,
math
,
trees
2700
x732
908E
New Year and Entity Enumeration
bitmasks
,
combinatorics
,
dp
,
math
2500
x733
837F
Prefix Sums
binary search
,
brute force
,
combinatorics
,
math
,
matrices
2400
x738
235E
Number Challenge
combinatorics
,
dp
,
implementation
,
math
,
number theory
2600
x741
26D
Tickets
combinatorics
,
math
,
probabilities
2400
x745
1615F
LEGOndary Grandmaster
combinatorics
,
dp
,
math
2800
x747
1383E
Strange Operation
combinatorics
,
data structures
,
dp
2800
x749
325E
The Red Button
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
greedy
2800
x749
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x752
645F
Cowslip Collections
combinatorics
,
math
,
number theory
2500
x757
1740F
Conditional Mix
combinatorics
,
dp
,
math
2600
x758
1153F
Serval and Bonus Problem
combinatorics
,
dp
,
math
,
probabilities
2600
x760
666C
Codeword
combinatorics
,
strings
2500
x765
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x770
293B
Distinct Paths
brute force
,
combinatorics
2700
x772
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x773
1758E
Tick, Tock
combinatorics
,
dfs and similar
,
dsu
,
graphs
2500
x779
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x789
722E
Research Rover
combinatorics
,
dp
2900
x798
1251F
Red-White Fence
combinatorics
,
fft
2500
x800
1425D
Danger of Mad Snakes
combinatorics
,
dp
,
math
2300
x803
830D
Singer House
combinatorics
,
dp
,
graphs
,
trees
2800
x804
1542E2
Abnormal Permutation Pairs (hard version)
combinatorics
,
dp
,
fft
,
math
2700
x805
1876D
Lexichromatography
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
two pointers
2500
x811
←
1
2
3
4
...
6
7
→
User lists
Name