Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 950 (Div. 3)
35:27:19
Register now »
→ Filter Problems
Difficulty:
—
brute force
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
1574D
The Strongest Build
binary search
,
brute force
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
hashing
,
implementation
2000
x4374
1572B
Xor of 3
brute force
,
constructive algorithms
,
greedy
,
two pointers
2500
x1752
1572A
Book
binary search
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
1800
x8582
1571D
Sweepstake
*special problem
,
brute force
,
constructive algorithms
,
implementation
,
math
1800
x323
1569F
Palindromic Hamiltonian Path
brute force
,
dfs and similar
,
dp
,
graphs
,
hashing
3000
x230
1569E
Playoff Restoration
bitmasks
,
brute force
,
hashing
,
implementation
,
meet-in-the-middle
2600
x787
1562B
Scenes From a Memory
brute force
,
constructive algorithms
,
implementation
,
math
,
number theory
1000
x19219
1561D1
Up the Strip (simplified version)
brute force
,
data structures
,
dp
,
math
,
number theory
1700
x5406
1561A
Simply Strange Sort
brute force
,
implementation
,
sortings
800
x16463
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4223
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x5948
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2542
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13301
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4629
1558A
Charmed by the Game
brute force
,
math
1300
x10944
1557E
Assiut Chess
brute force
,
constructive algorithms
,
interactive
2800
x694
1557A
Ezzat and Two Subsequences
brute force
,
math
,
sortings
800
x27532
1556C
Compressed Bracket Sequence
brute force
,
implementation
1800
x5670
1555D
Say No to Palindromes
brute force
,
constructive algorithms
,
dp
,
strings
1600
x11828
1555C
Coin Rows
brute force
,
constructive algorithms
,
dp
,
implementation
1300
x21003
1555B
Two Tables
brute force
1300
x15685
1555A
PizzaForces
brute force
,
math
900
x27406
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12493
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x982
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3249
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x17393
1553B
Reverse String
brute force
,
dp
,
hashing
,
implementation
,
strings
1300
x13869
1552G
A Serious Referee
bitmasks
,
brute force
,
dfs and similar
,
sortings
3000
x455
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x6732
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1759
1551E
Fixed Points
binary search
,
brute force
,
dp
2000
x3723
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1451
1550C
Manhattan Subarrays
brute force
,
geometry
,
greedy
,
implementation
1700
x9970
1548D2
Gregor and the Odd Cows (Hard)
brute force
,
geometry
,
math
,
number theory
3300
x239
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x16085
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5569
1546A
AquaMoon and Two Arrays
brute force
,
greedy
800
x18102
1545F
AquaMoon and Potatoes
brute force
,
data structures
,
dp
3500
x106
1545C
AquaMoon and Permutations
2-sat
,
brute force
,
combinatorics
,
constructive algorithms
,
graph matchings
,
graphs
2800
x590
1543D2
RPD and Rap Sheet (Hard Version)
brute force
,
constructive algorithms
,
interactive
,
math
2200
x1952
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5197
1541B
Pleasant Pairs
brute force
,
implementation
,
math
,
number theory
1200
x26786
1540D
Inverse Inversions
binary search
,
brute force
,
data structures
3200
x265
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x2504
1538A
Stone Game
brute force
,
dp
,
greedy
800
x35938
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x12358
1536B
Prinzessin der Verurteilung
brute force
,
constructive algorithms
,
strings
1200
x17861
1536A
Omkar and Bad Story
brute force
,
constructive algorithms
800
x20066
1535F
String Distance
binary search
,
brute force
,
data structures
,
hashing
,
implementation
,
strings
3000
x440
1535B
Array Reodering
brute force
,
greedy
,
math
,
number theory
,
sortings
900
x29749
1535A
Fair Playoff
brute force
,
implementation
800
x46858
1534A
Colour the Flag
brute force
,
implementation
800
x12625
1531E2
Сортировка слиянием
*special problem
,
*special problem
,
brute force
x332
1530C
Pursuit
binary search
,
brute force
,
greedy
,
sortings
1200
x14287
1526D
Kill Anton
brute force
,
constructive algorithms
,
data structures
,
math
,
strings
2200
x2360
1526C1
Potions (Easy Version)
brute force
,
data structures
,
dp
,
greedy
1500
x21398
1525F
Goblins And Gnomes
brute force
,
dp
,
flows
,
graph matchings
2800
x319
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2088
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8612
1520G
To Go Or Not To Go?
brute force
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
shortest paths
2200
x3524
1520B
Ordinary Numbers
brute force
,
math
,
number theory
800
x43149
1520A
Do Not Be Distracted!
brute force
,
implementation
800
x50002
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x391
1519D
Maximum Sum of Products
brute force
,
dp
,
implementation
,
math
,
two pointers
1600
x14656
1519C
Berland Regional
brute force
,
data structures
,
greedy
,
number theory
,
sortings
1400
x16113
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x18257
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x218
1515B
Phoenix and Puzzle
brute force
,
geometry
,
math
,
number theory
1000
x24257
1513F
Swapping Problem
brute force
,
constructive algorithms
,
data structures
,
sortings
2500
x1205
1512G
Short Task
brute force
,
dp
,
math
,
number theory
1700
x7863
1512F
Education
brute force
,
dp
,
greedy
,
implementation
1900
x5978
1512E
Permutation by Sum
brute force
,
greedy
,
math
1600
x10069
1512A
Spy Detected!
brute force
,
implementation
800
x60501
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x704
1511F
Chainword
brute force
,
data structures
,
dp
,
matrices
,
string suffix structures
,
strings
2700
x419
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11095
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x22374
1510K
King's Task
brute force
,
graphs
,
implementation
1200
x5289
1508F
Optimal Encoding
brute force
,
data structures
3500
x118
1508E
Tree Calendar
brute force
,
constructive algorithms
,
data structures
,
dfs and similar
,
sortings
,
trees
3100
x329
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1431
1506G
Maximize the Remaining String
brute force
,
data structures
,
dp
,
greedy
,
strings
2000
x4115
1506C
Double-ended Strings
brute force
,
implementation
,
strings
1000
x23612
1500C
Matrix Sorting
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
two pointers
2600
x769
1500B
Two chandeliers
binary search
,
brute force
,
chinese remainder theorem
,
math
,
number theory
2200
x1997
1500A
Going Home
brute force
,
hashing
,
implementation
,
math
1800
x8583
1499C
Minimum Grid Path
brute force
,
data structures
,
greedy
,
math
1500
x12378
1499B
Binary Removals
brute force
,
dp
,
greedy
,
implementation
1000
x20335
1498E
Two Houses
brute force
,
graphs
,
greedy
,
interactive
,
sortings
2200
x1845
1498C
Planar Reflections
brute force
,
data structures
,
dp
1600
x9277
1498A
GCD Sum
brute force
,
math
800
x22710
1497A
Meximization
brute force
,
data structures
,
greedy
,
sortings
800
x23942
1496A
Split it!
brute force
,
constructive algorithms
,
greedy
,
strings
900
x20342
1495E
Qingshan and Daniel
brute force
,
data structures
,
greedy
,
implementation
3200
x407
1494F
Delete The Edges
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
2900
x332
1494B
Berland Crossword
bitmasks
,
brute force
,
greedy
,
implementation
1400
x14013
1494A
ABC String
bitmasks
,
brute force
,
implementation
900
x20468
1493D
GCD of an Array
brute force
,
data structures
,
hashing
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2100
x4770
1493C
K-beautiful Strings
binary search
,
brute force
,
constructive algorithms
,
greedy
,
strings
2000
x4476
1493B
Planet Lapituletti
brute force
,
implementation
1300
x11641
←
1
2
...
4
5
6
7
8
...
16
17
→
User lists
Name