Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Please subscribe to the official Codeforces channel in Telegram via the link
https://t.me/codeforces_official
.
×
→ Pay attention
Before contest
Codeforces Round (Div. 2)
2 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
bitmasks
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
1994G
Minecraft
bitmasks
,
brute force
,
dp
,
math
x520
1994E
Wooden Game
bitmasks
,
greedy
,
math
,
sortings
,
trees
x2720
1994B
Fun Game
bitmasks
,
constructive algorithms
,
greedy
,
math
x12803
1990D
Grid Puzzle
bitmasks
,
dp
,
greedy
,
math
x3118
1988C
Increasing Sequence with Fixed OR
bitmasks
,
constructive algorithms
,
greedy
1300
x13074
1983G
Your Loss
bitmasks
,
brute force
,
dp
,
trees
3000
x161
1983F
array-value
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
2500
x930
1982E
Number of k-good subarrays
bitmasks
,
brute force
,
combinatorics
,
divide and conquer
,
dp
,
math
,
meet-in-the-middle
2300
x1331
1981C
Turtle and an Incomplete Sequence
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1800
x4552
1981B
Turtle and an Infinite Sequence
bitmasks
,
math
1300
x12249
1980G
Yasya and the Mysterious Tree
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
strings
,
trees
2300
x1013
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x5820
1979B
XOR Sequences
bitmasks
,
greedy
1000
x20809
1977D
XORificator
bitmasks
,
brute force
,
greedy
,
hashing
2300
x1604
1977B
Binary Colouring
bitmasks
,
constructive algorithms
,
greedy
,
math
1100
x16357
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x717
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x181
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x12808
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x271
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1514
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x6026
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4131
1957B
A BIT of a Construction
bitmasks
,
constructive algorithms
,
greedy
,
implementation
1100
x16887
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3593
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1159
1952I
Dark Matter
bitmasks
,
geometry
x411
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3972
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x8439
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x661
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4382
1944B
Equal XOR
bitmasks
,
constructive algorithms
1100
x15419
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x463
1936A
Bitwise Operation Wizard
bitmasks
,
constructive algorithms
,
greedy
,
interactive
,
math
1700
x6978
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1268
1934D2
XOR Break --- Game Version
bitmasks
,
games
,
greedy
,
interactive
2400
x1271
1934D1
XOR Break --- Solo Version
bitmasks
,
constructive algorithms
,
greedy
2100
x3263
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x920
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x666
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2499
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1593
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1598
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x11091
1926D
Vlad and Division
bitmasks
,
greedy
1300
x14640
1922E
Increasing Subsequences
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
math
1800
x7349
1918C
XOR-distance
bitmasks
,
greedy
,
implementation
,
math
1400
x13306
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x927
1915B
Not Quite Latin Square
bitmasks
,
brute force
,
implementation
800
x40359
1915A
Odd One Out
bitmasks
,
implementation
800
x53102
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x14343
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x2228
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1308
1909B
Make Almost Equal With Mod
bitmasks
,
constructive algorithms
,
math
,
number theory
1200
x15403
1906B
Button Pressing
bitmasks
,
constructive algorithms
,
hashing
2600
x475
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x742
1903D1
Maximum And Queries (easy version)
binary search
,
bitmasks
,
brute force
,
greedy
1700
x5376
1903B
StORage room
bitmasks
,
brute force
,
constructive algorithms
,
greedy
1200
x12091
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3943
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5798
1886E
I Wanna be the Team Leader
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
,
sortings
,
two pointers
2400
x1390
1883E
Look Back
bitmasks
,
greedy
1700
x7587
1882D
Tree XOR
bitmasks
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x5198
1882B
Sets and Union
bitmasks
,
brute force
,
constructive algorithms
,
greedy
1300
x14976
1879D
Sum of XOR Functions
bitmasks
,
combinatorics
,
divide and conquer
,
dp
,
math
1700
x7019
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1141
1878E
Iva & Pav
binary search
,
bitmasks
,
data structures
,
greedy
1400
x11952
1875C
Jellyfish and Green Apple
bitmasks
,
greedy
,
math
,
number theory
1400
x11267
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1109
1872E
Data Structures Fan
binary search
,
bitmasks
,
data structures
,
dp
1500
x12813
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2277
1870B
Friendly Arrays
bitmasks
,
greedy
,
math
1200
x13846
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2341
1868B1
Candy Party (Easy Version)
bitmasks
,
constructive algorithms
,
graphs
,
greedy
,
implementation
,
math
1700
x6747
1867B
XOR Palindromes
bitmasks
,
constructive algorithms
,
strings
1100
x16392
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2520
1864C
Divisor Chain
bitmasks
,
constructive algorithms
,
math
,
number theory
1300
x13079
1863F
Divide, XOR, and Conquer
bitmasks
,
dp
,
math
2600
x1070
1862F
Magic Will Save the World
binary search
,
bitmasks
,
brute force
,
dp
1800
x5990
1861F
Four Suits
binary search
,
bitmasks
,
flows
,
greedy
3200
x189
1856E2
PermuTree (hard version)
bitmasks
,
dfs and similar
,
dp
,
fft
,
greedy
,
implementation
,
math
,
trees
2700
x1347
1854B
Earn or Unlock
bitmasks
,
brute force
,
dp
2200
x3434
1851F
Lisa and the Martians
bitmasks
,
greedy
,
math
,
strings
,
trees
1800
x5576
1849F
XOR Partition
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
trees
2700
x689
1848F
Vika and Wiki
binary search
,
bitmasks
,
combinatorics
,
divide and conquer
,
dp
,
math
2400
x1500
1847F
The Boss's Identity
binary search
,
bitmasks
,
data structures
,
dfs and similar
,
greedy
,
math
,
sortings
2500
x871
1847C
Vampiric Powers, anyone?
bitmasks
,
brute force
,
dp
,
greedy
1400
x12554
1847B
Hamon Odyssey
bitmasks
,
greedy
,
two pointers
1000
x19616
1846G
Rudolf and CodeVid-23
bitmasks
,
dp
,
graphs
,
greedy
,
shortest paths
1900
x4230
1844G
Tree Weights
bitmasks
,
constructive algorithms
,
data structures
,
dfs and similar
,
implementation
,
math
,
matrices
,
number theory
,
trees
3000
x684
1843C
Sum in Binary Tree
bitmasks
,
combinatorics
,
math
,
trees
800
x32145
1842H
Tenzing and Random Real Numbers
bitmasks
,
dp
,
graphs
,
math
,
probabilities
3000
x586
1842B
Tenzing and Books
bitmasks
,
greedy
,
math
1100
x16417
1840B
Binary Cafe
bitmasks
,
combinatorics
,
math
1100
x22049
1835F
Good Graph
bitmasks
,
dfs and similar
,
graph matchings
,
graphs
,
implementation
3500
x158
1835C
Twin Clusters
bitmasks
,
brute force
,
constructive algorithms
,
math
,
probabilities
2600
x956
1829H
Don't Blame Me
bitmasks
,
combinatorics
,
dp
,
math
1700
x7440
1829C
Mr. Perfectly Fine
bitmasks
,
greedy
,
implementation
800
x27858
1826E
Walk the Runway
bitmasks
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
2400
x1553
1815D
XOR Counting
bitmasks
,
combinatorics
,
dp
,
math
2600
x1085
1807G2
Subsequence Addition (Hard Version)
bitmasks
,
dp
,
greedy
,
implementation
,
sortings
1100
x18478
1805A
We Need the Zero
bitmasks
,
brute force
800
x22154
←
1
2
3
...
5
6
→
User lists
Name