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
02:05:45
Register now »
→ Filter Problems
Difficulty:
—
two pointers
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
895B
XK Segments
binary search
,
math
,
sortings
,
two pointers
1700
x3419
281B
Nearest Fraction
brute force
,
implementation
,
two pointers
1700
x2921
1044A
The Tower is Going Home
binary search
,
two pointers
1700
x2847
644B
Processing Queries
*special problem
,
constructive algorithms
,
data structures
,
two pointers
1700
x2603
216D
Spider's Web
binary search
,
sortings
,
two pointers
1700
x1327
1355C
Count Triangles
binary search
,
implementation
,
math
,
two pointers
1800
x10195
1475D
Cleaning the Phone
binary search
,
dp
,
sortings
,
two pointers
1800
x9715
1548B
Integers Have Friends
binary search
,
data structures
,
divide and conquer
,
math
,
number theory
,
two pointers
1800
x9290
1335E2
Three Blocks Palindrome (hard version)
brute force
,
data structures
,
dp
,
two pointers
1800
x7948
1409E
Two Platforms
binary search
,
dp
,
sortings
,
two pointers
1800
x7551
1845D
Rating System
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
math
,
two pointers
1800
x7304
1758D
Range = √Sum
binary search
,
brute force
,
constructive algorithms
,
math
,
two pointers
1800
x6861
1728D
Letter Picking
constructive algorithms
,
dp
,
games
,
two pointers
1800
x6856
1394A
Boboniu Chats with Du
dp
,
greedy
,
sortings
,
two pointers
1800
x6450
519D
A and B and Interesting Substrings
data structures
,
dp
,
two pointers
1800
x6271
1611F
ATM and Students
binary search
,
data structures
,
two pointers
1800
x6183
1304D
Shortest and Longest LIS
constructive algorithms
,
graphs
,
greedy
,
two pointers
1800
x6070
1734D
Slime Escape
data structures
,
dp
,
greedy
,
two pointers
1800
x6019
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5867
1793D
Moscow Gorillas
binary search
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1800
x5755
1720D1
Xor-Subsequence (easy version)
bitmasks
,
brute force
,
dp
,
strings
,
trees
,
two pointers
1800
x5718
1042D
Petya and Array
data structures
,
divide and conquer
,
two pointers
1800
x5717
1732C1
Sheikh (Easy version)
binary search
,
bitmasks
,
greedy
,
two pointers
1800
x5562
1630B
Range and Partition
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5499
1691D
Max GEQ Sum
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
implementation
,
two pointers
1800
x5476
1450D
Rating Compression
binary search
,
data structures
,
greedy
,
implementation
,
two pointers
1800
x5305
1133E
K Balanced Teams
dp
,
sortings
,
two pointers
1800
x5194
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x5152
1290B
Irreducible Anagrams
binary search
,
constructive algorithms
,
data structures
,
strings
,
two pointers
1800
x4921
1073C
Vasya and Robot
binary search
,
two pointers
1800
x4549
1254B1
Send Boxes to Alice (Easy Version)
constructive algorithms
,
greedy
,
math
,
number theory
,
ternary search
,
two pointers
1800
x4410
280B
Maximum Xor Secondary
data structures
,
implementation
,
two pointers
1800
x4368
1852B
Imbalanced Arrays
constructive algorithms
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
1800
x4132
1282C
Petya and Exam
greedy
,
sortings
,
two pointers
1800
x4100
733C
Epidemic in Monstropolis
constructive algorithms
,
dp
,
greedy
,
two pointers
1800
x3298
652C
Foe Pairs
combinatorics
,
sortings
,
two pointers
1800
x3092
939E
Maximize!
binary search
,
greedy
,
ternary search
,
two pointers
1800
x3008
853B
Jury Meeting
greedy
,
sortings
,
two pointers
1800
x2503
846F
Random Query
data structures
,
math
,
probabilities
,
two pointers
1800
x2203
533E
Correcting Mistakes
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
,
two pointers
1800
x2170
180E
Cubes
binary search
,
dp
,
two pointers
1800
x1719
79C
Beaver
data structures
,
dp
,
greedy
,
hashing
,
strings
,
two pointers
1800
x1716
958F2
Lightsabers (medium)
binary search
,
two pointers
1800
x1199
577B
Modulo Sum
combinatorics
,
data structures
,
dp
,
two pointers
1900
x11465
1400D
Zigzags
brute force
,
combinatorics
,
data structures
,
math
,
two pointers
1900
x9796
1358D
The Best Vacation
binary search
,
brute force
,
greedy
,
implementation
,
two pointers
1900
x8012
505C
Mr. Kitayuta, the Treasure Hunter
dfs and similar
,
dp
,
two pointers
1900
x6079
1508A
Binary Literature
constructive algorithms
,
greedy
,
implementation
,
strings
,
two pointers
1900
x6001
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x5831
1413C
Perform Easily
binary search
,
brute force
,
dp
,
implementation
,
sortings
,
two pointers
1900
x5533
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5496
1701D
Permutation Restoration
binary search
,
data structures
,
greedy
,
math
,
sortings
,
two pointers
1900
x5479
1494C
1D Sokoban
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1900
x5230
1883G2
Dances (Hard Version)
binary search
,
greedy
,
sortings
,
two pointers
1900
x4866
1601B
Frog Traveler
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
,
two pointers
1900
x4770
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4608
14D
Two Paths
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
,
two pointers
1900
x4309
1569D
Inconvenient Pairs
binary search
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x4282
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4245
1463D
Pairs
binary search
,
constructive algorithms
,
greedy
,
two pointers
1900
x4237
1200D
White Lines
brute force
,
data structures
,
dp
,
implementation
,
two pointers
1900
x3932
1659D
Reverse Sort Sum
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
,
two pointers
1900
x3876
1168B
Good Triple
brute force
,
two pointers
1900
x3445
1819B
The Butcher
geometry
,
greedy
,
implementation
,
sortings
,
two pointers
1900
x3428
650B
Image Preview
binary search
,
brute force
,
dp
,
two pointers
1900
x3309
6E
Exposition
binary search
,
data structures
,
dsu
,
trees
,
two pointers
1900
x2999
965D
Single-use Stones
binary search
,
flows
,
greedy
,
two pointers
1900
x2963
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2907
343C
Read Time
binary search
,
greedy
,
two pointers
1900
x2902
190D
Non-Secret Cypher
two pointers
1900
x2231
613B
Skills
binary search
,
brute force
,
dp
,
greedy
,
sortings
,
two pointers
1900
x2171
222D
Olympiad
binary search
,
greedy
,
sortings
,
two pointers
1900
x2127
1600E
Array Game
games
,
greedy
,
two pointers
1900
x1919
818E
Card Game Again
binary search
,
data structures
,
number theory
,
two pointers
1900
x1873
848B
Rooter's Song
constructive algorithms
,
data structures
,
geometry
,
implementation
,
sortings
,
two pointers
1900
x1814
1120A
Diana and Liana
greedy
,
implementation
,
two pointers
1900
x1618
420C
Bug in Code
data structures
,
graphs
,
implementation
,
two pointers
1900
x1194
250D
Building Bridge
geometry
,
ternary search
,
two pointers
1900
x873
1359D
Yet Another Yet Another Task
data structures
,
dp
,
implementation
,
two pointers
2000
x8944
432D
Prefixes and Suffixes
dp
,
string suffix structures
,
strings
,
two pointers
2000
x8258
1156C
Match Points
binary search
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x5891
1379C
Choosing flowers
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
two pointers
2000
x5414
359D
Pair of Numbers
binary search
,
brute force
,
data structures
,
math
,
two pointers
2000
x4825
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x4811
1380D
Berserk And Fireball
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
2000
x4616
1632D
New Year Concert
binary search
,
data structures
,
greedy
,
math
,
number theory
,
two pointers
2000
x4461
1487E
Cheap Dinner
brute force
,
data structures
,
graphs
,
greedy
,
implementation
,
sortings
,
two pointers
2000
x4365
1408D
Searchlights
binary search
,
brute force
,
data structures
,
dp
,
implementation
,
sortings
,
two pointers
2000
x4163
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4128
514D
R2D2 and Droid Army
binary search
,
data structures
,
two pointers
2000
x4116
1223D
Sequence Sorting
dp
,
greedy
,
two pointers
2000
x3928
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x3879
1622D
Shuffle
combinatorics
,
math
,
two pointers
2000
x3871
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3728
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3658
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3489
1266D
Decreasing Debts
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
math
,
two pointers
2000
x3409
487B
Strip
binary search
,
data structures
,
dp
,
two pointers
2000
x3350
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2924
1744F
MEX vs MED
math
,
two pointers
2000
x2891
←
1
2
3
4
5
6
→
User lists
Name