Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 957 (Div. 3)
38:24:51
Register now »
→ Filter Problems
Difficulty:
—
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
1975A
Bazoka and Mocha's Array
brute force
,
greedy
,
implementation
,
sortings
800
x17272
1974G
Money Buys Less Happiness Now
data structures
,
greedy
,
sortings
2000
x3683
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x3135
1974E
Money Buys Happiness
dp
1800
x6805
1974D
Ingenuity-2
constructive algorithms
,
greedy
,
implementation
1400
x13118
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x14103
1974B
Symmetric Encoding
implementation
,
sortings
,
strings
800
x28180
1974A
Phone Desktop
greedy
,
math
800
x30780
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x176
1973E
Cat, Fox and Swaps
graphs
,
math
,
sortings
2500
x694
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1702
1973C
Cat, Fox and Double Maximum
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1700
x7379
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x12592
1973A
Chess For Three
brute force
,
dp
,
implementation
,
math
900
x22121
1972B
Coin Games
games
900
x19385
1972A
Contest Proposal
brute force
,
greedy
,
two pointers
800
x21261
1971H
±1
2-sat
,
dfs and similar
,
graphs
2100
x1479
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x8083
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x8685
1971E
Find the Car
binary search
,
math
,
sortings
1500
x12379
1971D
Binary Cut
dp
,
greedy
,
implementation
,
sortings
,
strings
1100
x23269
1971C
Clock and Strings
implementation
900
x29140
1971B
Different String
implementation
,
strings
800
x32932
1971A
My First Sorting Problem
implementation
,
sortings
800
x39829
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x259
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x456
1970G1
Min-Fund Prison (Easy)
dfs and similar
,
trees
1900
x1069
1970F3
Playing Quidditch (Hard)
implementation
2300
x308
1970F2
Playing Quidditch (Medium)
implementation
2300
x300
1970F1
Playing Quidditch (Easy)
implementation
2300
x373
1970E3
Trails (Hard)
dp
,
matrices
2200
x544
1970E2
Trails (Medium)
dp
,
matrices
2000
x944
1970E1
Trails (Easy)
dp
1800
x1568
1970D3
Arithmancy (Hard)
interactive
3100
x86
1970D2
Arithmancy (Medium)
constructive algorithms
,
interactive
,
probabilities
,
strings
2600
x164
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x495
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1157
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x1980
1970C1
Game on Tree (Easy)
games
1400
x2587
1970B3
Exact Neighbours (Hard)
constructive algorithms
2300
x383
1970B2
Exact Neighbours (Medium)
constructive algorithms
2100
x624
1970B1
Exact Neighbours (Easy)
constructive algorithms
1900
x888
1970A3
Balanced Unshuffle (Hard)
constructive algorithms
,
trees
2400
x384
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x383
1970A1
Balanced Shuffle (Easy)
implementation
,
sortings
1000
x3578
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x203
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1169
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x3974
1969C
Minimizing the Sum
dp
,
implementation
1700
x7520
1969B
Shifts and Sorting
constructive algorithms
,
greedy
1000
x17079
1969A
Two Friends
constructive algorithms
,
implementation
,
math
800
x18534
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1690
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3739
1968F
Equal XOR Segments
binary search
,
data structures
1800
x4804
1968E
Cells Arrangement
constructive algorithms
1600
x9295
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x13527
1968C
Assembly via Remainders
constructive algorithms
,
number theory
1000
x22662
1968B
Prefiquence
greedy
,
two pointers
800
x26014
1968A
Maximize?
brute force
,
math
,
number theory
800
x31012
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x50
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x83
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x167
1967D
Long Way to be Non-decreasing
binary search
,
dfs and similar
,
graphs
,
implementation
,
shortest paths
,
two pointers
2800
x545
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1484
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3524
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x11865
1967A
Permutation Counting
binary search
,
greedy
,
implementation
,
math
,
sortings
1400
x11076
1966B
Rectangle Filling
constructive algorithms
,
implementation
1100
x13673
1966A
Card Exchange
constructive algorithms
,
games
,
greedy
800
x16586
1965F
Conference
data structures
,
flows
3300
x129
1965E
Connected Cubes
constructive algorithms
,
games
3100
x211
1965D
Missing Subarray Sum
constructive algorithms
2900
x324
1965C
Folding Strip
constructive algorithms
,
greedy
,
strings
2300
x1650
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x5923
1965A
Everything Nim
games
,
greedy
,
math
,
sortings
1400
x12105
1958J
Necromancer
*special problem
3200
x22
1958I
Equal Trees
*special problem
,
graphs
,
meet-in-the-middle
3100
x25
1958H
Composite Spells
*special problem
,
dp
2600
x68
1958G
Observation Towers
*special problem
2400
x96
1958F
Narrow Paths
*special problem
,
combinatorics
2000
x165
1958E
Yet Another Permutation Constructive
*special problem
,
constructive algorithms
1900
x220
1958D
Staircase
*special problem
1600
x420
1958C
Firewood
*special problem
1500
x582
1958B
Clock in the Pool
*special problem
,
math
1400
x742
1958A
1-3-5
*special problem
,
dp
1100
x1381
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x351
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x407
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1117
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4074
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
1600
x8666
1957B
A BIT of a Construction
bitmasks
,
constructive algorithms
,
greedy
,
implementation
1100
x16685
1957A
Stickogon
constructive algorithms
,
greedy
800
x21868
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x306
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x753
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1341
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3550
1956C
Nene's Magical Matrix
constructive algorithms
,
greedy
,
math
1600
x11858
1956B
Nene and the Card Game
games
,
greedy
800
x20246
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x20439
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1140
←
1
2
3
4
...
96
97
→
User lists
Name