Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2)
3 days
Register now »
*has extra registration
→ 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
1A
Theatre Square
math
1000
x244272
118A
String Task
implementation
,
strings
1000
x180152
69A
Young Physicist
implementation
,
math
1000
x154046
58A
Chat room
greedy
,
strings
1000
x121469
122A
Lucky Division
brute force
,
number theory
1000
x115247
479A
Expression
brute force
,
math
1000
x88058
131A
cAPS lOCK
implementation
,
strings
1000
x80769
230A
Dragons
greedy
,
sortings
1000
x73821
339B
Xenia and Ringroad
implementation
1000
x66066
579A
Raising Bacteria
bitmasks
1000
x55561
43A
Football
strings
1000
x51661
500A
New Year Transportation
dfs and similar
,
graphs
,
implementation
1000
x49941
379A
New Year Candles
implementation
1000
x44257
1374C
Move Brackets
greedy
,
strings
1000
x43039
584A
Olesya and Rodion
math
1000
x42592
476A
Dreamoon and Stairs
implementation
,
math
1000
x40867
742A
Arpa’s hard exam and Mehrdad’s naive cheat
implementation
,
math
,
number theory
1000
x39594
1342A
Road To Zero
greedy
,
math
1000
x38130
577A
Multiplication Table
implementation
,
number theory
1000
x37867
499B
Lecture
implementation
,
strings
1000
x37275
124A
The number of positions
math
1000
x36127
1521A
Nastia and Nearly Good Numbers
constructive algorithms
,
math
,
number theory
1000
x35146
1476A
K-divisible Sum
binary search
,
constructive algorithms
,
greedy
,
math
1000
x34794
1353C
Board Moves
math
1000
x34072
450A
Jzzhu and Children
implementation
1000
x32316
766B
Mahmoud and a Triangle
constructive algorithms
,
geometry
,
greedy
,
math
,
number theory
,
sortings
1000
x30773
268B
Buttons
implementation
,
math
1000
x30732
1520C
Not Adjacent Matrix
constructive algorithms
1000
x30486
688B
Lovely Palindromes
constructive algorithms
,
math
1000
x30050
1473B
String LCM
brute force
,
math
,
number theory
,
strings
1000
x29516
1141A
Game 23
implementation
,
math
1000
x29376
1326A
Bad Ugly Numbers
constructive algorithms
,
number theory
1000
x29290
1182A
Filling Shapes
dp
,
math
1000
x28959
1359A
Berland Poker
brute force
,
greedy
,
math
1000
x28680
766A
Mahmoud and Longest Uncommon Subsequence
constructive algorithms
,
strings
1000
x28606
139A
Petr and Book
implementation
1000
x28429
1256A
Payment Without Change
math
1000
x28211
118B
Present from Lena
constructive algorithms
,
implementation
1000
x28186
1359B
New Theatre Square
brute force
,
dp
,
greedy
,
implementation
,
two pointers
1000
x27010
1791D
Distinct Split
brute force
,
greedy
,
strings
1000
x26542
1690D
Black and White Stripe
implementation
,
two pointers
1000
x26458
1469A
Regular Bracket Sequence
constructive algorithms
,
greedy
1000
x26399
1474B
Different Divisors
binary search
,
constructive algorithms
,
greedy
,
math
,
number theory
1000
x26143
1469B
Red and Blue
dp
,
greedy
1000
x25935
219A
k-String
implementation
,
strings
1000
x25847
1373A
Donut Shops
greedy
,
implementation
,
math
1000
x25712
237A
Free Cash
implementation
1000
x25684
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x25642
1550B
Maximum Cost Deletion
greedy
,
math
1000
x25607
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x25560
1490B
Balanced Remainders
brute force
,
constructive algorithms
,
math
1000
x25504
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x25145
75A
Life Without Zeros
implementation
1000
x24845
1358B
Maria Breaks the Self-isolation
greedy
,
sortings
1000
x24561
352A
Jeff and Digits
brute force
,
implementation
,
math
1000
x24526
102B
Sum of Digits
implementation
1000
x24391
1312B
Bogosort
constructive algorithms
,
sortings
1000
x24302
1840C
Ski Resort
combinatorics
,
math
,
two pointers
1000
x24257
1607C
Minimum Extraction
brute force
,
sortings
1000
x24228
978C
Letters
binary search
,
implementation
,
two pointers
1000
x24177
1333A
Little Artem
constructive algorithms
1000
x24050
1515B
Phoenix and Puzzle
brute force
,
geometry
,
math
,
number theory
1000
x24049
732B
Cormen --- The Best Friend Of a Man
dp
,
greedy
1000
x23986
1829D
Gold Rush
brute force
,
dfs and similar
,
dp
,
implementation
1000
x23967
1859B
Olya and Game with Arrays
constructive algorithms
,
greedy
,
math
,
sortings
1000
x23962
1744C
Traffic Light
binary search
,
implementation
,
two pointers
1000
x23918
1676D
X-Sum
brute force
,
greedy
,
implementation
1000
x23825
1800B
Count the Number of Pairs
greedy
,
strings
1000
x23802
1593C
Save More Mice
binary search
,
greedy
,
greedy
1000
x23782
37A
Towers
sortings
1000
x23480
1419D1
Sage's Birthday (easy version)
binary search
,
constructive algorithms
,
greedy
,
sortings
1000
x23476
272A
Dima and Friends
implementation
,
math
1000
x23403
1395A
Boboniu Likes to Color Balls
brute force
,
math
1000
x23389
1916B
Two Divisors
constructive algorithms
,
math
,
number theory
1000
x23332
680B
Bear and Finding Criminals
constructive algorithms
,
implementation
1000
x23274
1430C
Numbers on Whiteboard
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
1000
x23238
1506C
Double-ended Strings
brute force
,
implementation
,
strings
1000
x23123
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x22908
1702D
Not a Cheap String
greedy
1000
x22849
1790C
Premutation
brute force
,
implementation
,
math
1000
x22826
1674C
Infinite Replacement
combinatorics
,
implementation
,
strings
1000
x22812
1770A
Koxia and Whiteboards
brute force
,
greedy
1000
x22800
404A
Valera and X
implementation
1000
x22741
1772C
Different Differences
constructive algorithms
,
greedy
,
math
1000
x22592
165A
Supercentral Point
implementation
1000
x22492
1362A
Johnny and Ancient Computer
implementation
1000
x22360
1849B
Monsters
greedy
,
math
,
sortings
1000
x22336
1800C1
Powering the Hero (easy version)
data structures
,
greedy
1000
x22212
1760D
Challenging Valleys
implementation
,
two pointers
1000
x22200
1883C
Raspberries
dp
,
math
1000
x22179
1300B
Assigning to Classes
greedy
,
implementation
,
sortings
1000
x22105
1851C
Tiles Comeback
greedy
1000
x22080
610A
Pasha and Stick
combinatorics
,
math
1000
x21911
1388B
Captain Flint and a Long Voyage
greedy
,
math
1000
x21861
1858C
Yet Another Permutation Problem
constructive algorithms
,
greedy
,
math
,
number theory
1000
x21790
1721B
Deadly Laser
implementation
1000
x21483
1567B
MEXor Mixup
bitmasks
,
greedy
1000
x21297
1913B
Swap and Delete
strings
1000
x21200
1418A
Buying Torches
math
1000
x21164
1613B
Absent Remainder
greedy
,
implementation
,
sortings
1000
x21111
←
1
2
3
4
→
User lists
Name