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
2 weeks
Register now »
Before contest
Kotlin Heroes: Practice 10
10:48:28
Register now »
→ Filter Problems
Difficulty:
—
divide and conquer
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
1490D
Permutation Transformation
dfs and similar
,
divide and conquer
,
implementation
1200
x18813
1385D
a-Good String
bitmasks
,
brute force
,
divide and conquer
,
dp
,
implementation
1500
x18325
1373D
Maximum Sum on Even Positions
divide and conquer
,
dp
,
greedy
,
implementation
1600
x14946
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x14461
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x13854
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x11535
1167B
Lost Numbers
brute force
,
divide and conquer
,
interactive
,
math
1400
x10648
559B
Equivalent Strings
divide and conquer
,
hashing
,
sortings
,
strings
1700
x10361
1676H2
Maximum Crossings (Hard Version)
data structures
,
divide and conquer
,
sortings
1500
x10020
459D
Pashmak and Parmida's problem
data structures
,
divide and conquer
,
sortings
1800
x9500
1548B
Integers Have Friends
binary search
,
data structures
,
divide and conquer
,
math
,
number theory
,
two pointers
1800
x9290
1461D
Divide and Summarize
binary search
,
brute force
,
data structures
,
divide and conquer
,
implementation
,
sortings
1600
x8896
448C
Painting Fence
divide and conquer
,
dp
,
greedy
1900
x7814
342E
Xenia and Tree
data structures
,
divide and conquer
,
trees
2400
x7632
1285D
Dr. Evil Underscores
bitmasks
,
brute force
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
strings
,
trees
1900
x7337
1922E
Increasing Subsequences
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
math
1800
x7026
321C
Ciel the Commander
constructive algorithms
,
dfs and similar
,
divide and conquer
,
greedy
,
trees
2100
x6779
1155D
Beautiful Array
brute force
,
data structures
,
divide and conquer
,
dp
,
greedy
1900
x6681
888E
Maximum Subsequence
bitmasks
,
divide and conquer
,
meet-in-the-middle
1800
x6619
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6607
1879D
Sum of XOR Functions
bitmasks
,
combinatorics
,
divide and conquer
,
dp
,
math
1700
x6567
1721D
Maximum AND
bitmasks
,
dfs and similar
,
divide and conquer
,
greedy
,
sortings
1800
x6292
1111C
Creative Snap
binary search
,
brute force
,
divide and conquer
,
math
1700
x6107
768B
Code For 1
constructive algorithms
,
dfs and similar
,
divide and conquer
1600
x5838
337D
Book of Evil
dfs and similar
,
divide and conquer
,
dp
,
trees
2000
x5821
1042D
Petya and Array
data structures
,
divide and conquer
,
two pointers
1800
x5717
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5495
1691D
Max GEQ Sum
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
implementation
,
two pointers
1800
x5476
1696D
Permutation Graph
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
shortest paths
1900
x5169
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5165
1400E
Clear the Multiset
data structures
,
divide and conquer
,
dp
,
greedy
2200
x5012
1420C2
Pokémon Army (hard version)
data structures
,
divide and conquer
,
dp
,
greedy
,
implementation
2100
x4498
321E
Ciel and Gondolas
data structures
,
divide and conquer
,
dp
2600
x4492
833B
The Bakery
binary search
,
data structures
,
divide and conquer
,
dp
,
two pointers
2200
x4491
817D
Imbalanced Array
data structures
,
divide and conquer
,
dsu
,
sortings
1900
x4396
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4177
1237C2
Balanced Removals (Harder)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
implementation
,
sortings
1900
x4130
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4073
1311F
Moving Points
data structures
,
divide and conquer
,
implementation
,
sortings
1900
x3938
1904D2
Set To Max (Hard Version)
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
sortings
1800
x3791
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3680
9D
How many trees?
combinatorics
,
divide and conquer
,
dp
1900
x3667
1000F
One Occurrence
data structures
,
divide and conquer
2400
x3511
1567E
Non-Decreasing Dilemma
data structures
,
divide and conquer
,
math
2200
x3502
868F
Yet Another Minimization Problem
divide and conquer
,
dp
2500
x3415
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3390
1663B
Mike's Sequence
*special problem
,
divide and conquer
,
implementation
,
math
x3354
1794D
Counting Factorizations
combinatorics
,
divide and conquer
,
dp
,
math
,
number theory
1900
x3341
576C
Points on Plane
constructive algorithms
,
divide and conquer
,
geometry
,
greedy
,
sortings
2100
x3225
1175E
Minimal Segment Cover
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
implementation
,
trees
2200
x3194
1790F
Timofey and Black-White Tree
brute force
,
dfs and similar
,
divide and conquer
,
graphs
,
greedy
,
math
,
shortest paths
,
trees
2100
x3149
1856D
More Wrong
divide and conquer
,
interactive
2100
x3080
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3071
873D
Merge Sort
constructive algorithms
,
divide and conquer
1800
x2997
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x2961
1338C
Perfect Triples
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
math
2200
x2960
1482E
Skyline Photo
data structures
,
divide and conquer
,
dp
2100
x2938
665E
Beautiful Subarrays
data structures
,
divide and conquer
,
strings
,
trees
2100
x2872
1156E
Special Segments of Permutation
data structures
,
divide and conquer
,
dsu
,
two pointers
2200
x2751
383E
Vowels
combinatorics
,
divide and conquer
,
dp
2700
x2732
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2697
613D
Kingdom and its Cities
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
sortings
,
trees
2800
x2659
1671E
Preorder
combinatorics
,
divide and conquer
,
dp
,
dsu
,
hashing
,
sortings
,
trees
2100
x2645
429D
Tricky Function
data structures
,
divide and conquer
,
geometry
2200
x2578
632E
Thief in a Shop
divide and conquer
,
dp
,
fft
,
math
2400
x2569
513B2
Permutations
bitmasks
,
divide and conquer
,
math
1800
x2564
786C
Till I Collapse
data structures
,
divide and conquer
2400
x2518
372B
Counting Rectangles is Fun
brute force
,
divide and conquer
,
dp
1900
x2518
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2493
1177B
Digits Sequence (Hard Edition)
binary search
,
divide and conquer
,
implementation
1800
x2396
1706E
Qpwoeirut and Vertices
binary search
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
trees
2300
x2358
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2355
1295E
Permutation Separation
data structures
,
divide and conquer
2200
x2341
526F
Pudding Monsters
data structures
,
divide and conquer
3000
x2310
1408F
Two Different
constructive algorithms
,
divide and conquer
2300
x2260
1190D
Tokitsukaze and Strange Rectangle
data structures
,
divide and conquer
,
sortings
,
two pointers
2000
x2212
414C
Mashmokh and Reverse Operation
combinatorics
,
divide and conquer
2100
x2173
1428F
Fruit Sequences
binary search
,
data structures
,
divide and conquer
,
dp
,
two pointers
2400
x2164
1100F
Ivan and Burgers
data structures
,
divide and conquer
,
greedy
,
math
2500
x2115
379F
New Year Tree
data structures
,
divide and conquer
,
trees
2400
x2115
1527E
Partition Game
binary search
,
data structures
,
divide and conquer
,
dp
2500
x2082
1491E
Fib-tree
brute force
,
dfs and similar
,
divide and conquer
,
number theory
,
trees
2400
x2042
981E
Addition on Segments
bitmasks
,
data structures
,
divide and conquer
,
dp
2200
x1994
875D
High Cry
binary search
,
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
2200
x1979
1223F
Stack Exterminable Arrays
data structures
,
divide and conquer
,
dp
,
hashing
2600
x1947
662C
Binary Table
bitmasks
,
brute force
,
divide and conquer
,
dp
,
fft
,
math
2600
x1940
1442D
Sum
data structures
,
divide and conquer
,
dp
,
greedy
2800
x1926
715C
Digit Tree
dfs and similar
,
divide and conquer
,
dsu
,
trees
2700
x1922
1601C
Optimal Insertion
data structures
,
divide and conquer
,
dp
,
greedy
,
sortings
2300
x1915
1140E
Palindrome-less Arrays
combinatorics
,
divide and conquer
,
dp
2200
x1888
960E
Alternating Tree
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
probabilities
,
trees
2300
x1811
1114F
Please, another Queries on Array?
bitmasks
,
data structures
,
divide and conquer
,
math
,
number theory
2400
x1810
438E
The Child and Binary Tree
combinatorics
,
divide and conquer
,
fft
,
number theory
3100
x1791
1278E
Tests for problem D
constructive algorithms
,
dfs and similar
,
divide and conquer
,
trees
2200
x1737
990G
GCD Counting
divide and conquer
,
dp
,
dsu
,
number theory
,
trees
2400
x1727
1748E
Yet Another Array Counting Problem
binary search
,
data structures
,
divide and conquer
,
dp
,
flows
,
math
,
trees
2300
x1726
744B
Hongcow's Game
bitmasks
,
divide and conquer
,
interactive
1900
x1706
1439C
Greedy Shopping
binary search
,
data structures
,
divide and conquer
,
greedy
,
implementation
2600
x1676
862D
Mahmoud and Ehab and the binary string
binary search
,
divide and conquer
,
interactive
2000
x1650
19E
Fairy
dfs and similar
,
divide and conquer
,
dsu
2900
x1610
←
1
2
3
→
User lists
Name