Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 1097 (Div. 1, Based on Zhili Cup 2026)
2 days
Register now »
*has extra registration
Before contest
Codeforces Round 1097 (Div. 2, Based on Zhili Cup 2026)
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
communication
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
1698G
Long Binary String
bitmasks
,
math
,
matrices
,
meet-in-the-middle
,
number theory
2900
x384
1698A
XOR Mixup
bitmasks
,
brute force
800
x32867
1696A
NIT orz!
bitmasks
,
greedy
800
x20257
1689E
ANDfinity
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1360
1688B
Patchouli's Magical Talisman
bitmasks
,
constructive algorithms
,
greedy
,
sortings
800
x19006
1688A
Cirno's Perfect Bitmasks Classroom
bitmasks
,
brute force
800
x23486
1682B
AND Sorting
bitmasks
,
constructive algorithms
,
sortings
1100
x26377
1680E
Moving Chips
bitmasks
,
dp
,
greedy
2000
x4346
1679F
Formalism for Formalism
bitmasks
,
dp
,
math
2600
x772
1679E
Typical Party in Dorm
bitmasks
,
combinatorics
,
dp
,
strings
2400
x1417
1673F
Anti-Theft Road Planning
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
interactive
,
math
2400
x960
1673E
Power or XOR?
bitmasks
,
combinatorics
,
math
,
number theory
2500
x802
1670F
Jee, You See?
bitmasks
,
combinatorics
,
dp
2400
x1264
1670E
Hemose on the Tree
bitmasks
,
constructive algorithms
,
dfs and similar
,
trees
2200
x1937
1669H
Maximal AND
bitmasks
,
greedy
,
math
1300
x29075
1665E
MinimizOR
bitmasks
,
brute force
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
two pointers
2500
x1796
1665D
GCD Guess
bitmasks
,
chinese remainder theorem
,
constructive algorithms
,
games
,
interactive
,
math
,
number theory
2000
x4653
1661B
Getting Zero
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1300
x20648
1659E
AND-MEX Walk
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2200
x1970
1659B
Bit Flipping
bitmasks
,
constructive algorithms
,
greedy
,
strings
1300
x12029
1658D2
388535 (Hard Version)
bitmasks
,
brute force
,
data structures
,
math
2300
x3178
1658D1
388535 (Easy Version)
bitmasks
,
math
1600
x9999
1654F
Minimal String Xoration
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
hashing
,
sortings
,
strings
2800
x1483
1646C
Factorials and Powers of Two
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
math
1500
x19504
1641D
Two Arrays
bitmasks
,
brute force
,
combinatorics
,
greedy
,
hashing
,
math
,
two pointers
2700
x1504
1635D
Infinite Set
bitmasks
,
dp
,
math
,
matrices
,
number theory
,
strings
1800
x7048
1635A
Min Or Sum
bitmasks
,
greedy
800
x25888
1634B
Fortune Telling
bitmasks
,
math
1400
x22288
1632C
Strange Test
binary search
,
bitmasks
,
brute force
,
dp
,
math
1600
x14071
1632B
Roof Construction
bitmasks
,
constructive algorithms
1000
x31512
1630A
And Matching
bitmasks
,
constructive algorithms
1500
x16145
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x2318
1625A
Ancient Civilization
bitmasks
,
greedy
,
math
800
x18284
1624G
MinOr Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x7593
1622E
Math Test
bitmasks
,
brute force
,
greedy
2200
x2243
1620G
Subsequences Galore
bitmasks
,
combinatorics
,
dp
2400
x1155
1618F
Reverse
bitmasks
,
constructive algorithms
,
dfs and similar
,
implementation
,
math
,
strings
2000
x4731
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x1234
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x2134
1615B
And It's Non-Zero
bitmasks
,
greedy
,
math
1300
x17911
1614C
Divan and bitwise operations
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
math
1500
x11311
1609E
William The Oblivious
bitmasks
,
data structures
,
dp
,
matrices
2400
x2451
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x3248
1601A
Array Elimination
bitmasks
,
greedy
,
math
,
number theory
1300
x21068
1600J
Robot Factory
bitmasks
,
dfs and similar
1400
x4417
1599J
Bob's Beautiful Array
bitmasks
,
brute force
,
greedy
2600
x328
1598F
RBS
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
2400
x1633
1594B
Special Numbers
bitmasks
,
math
1100
x22133
1592E
Bored Bakry
bitmasks
,
greedy
,
math
,
two pointers
2400
x1920
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x9131
1584F
Strange LCS
bitmasks
,
dp
,
graphs
,
greedy
,
strings
2600
x1116
1583F
Defender of Childhood Dreams
bitmasks
,
constructive algorithms
,
divide and conquer
2500
x1536
1582F1
Korney Korneevich and XOR (easy version)
bitmasks
,
dp
,
greedy
1800
x6578
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x374
1569E
Playoff Restoration
bitmasks
,
brute force
,
hashing
,
implementation
,
meet-in-the-middle
2600
x875
1567C
Carrying Conundrum
bitmasks
,
combinatorics
,
dp
,
math
1600
x13153
1567B
MEXor Mixup
bitmasks
,
greedy
1000
x32903
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x19034
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x21207
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4969
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x6759
1559A
Mocha and Math
bitmasks
,
constructive algorithms
,
math
900
x45548
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x10494
1556G
Gates to Another World
bitmasks
,
data structures
,
dsu
,
two pointers
3300
x446
1556F
Sports Betting
bitmasks
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
2500
x1420
1556D
Take a Guess
bitmasks
,
constructive algorithms
,
interactive
,
math
1800
x8583
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x9774
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x13796
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x841
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x19799
1552G
A Serious Referee
bitmasks
,
brute force
,
dfs and similar
,
sortings
3000
x670
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x7885
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1838
1548D1
Gregor and the Odd Cows (Easy)
bitmasks
,
geometry
,
math
,
number theory
2300
x1623
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x18586
1543E
The Final Pursuit
bitmasks
,
constructive algorithms
,
divide and conquer
,
graphs
,
greedy
,
math
2700
x450
1543D1
RPD and Rap Sheet (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
1700
x8000
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5625
1533H
Submatrices
*special problem
,
bitmasks
,
data structures
,
dp
x92
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x992
1527A
And Then There Were K
bitmasks
800
x41887
1523F
Favorite Game
bitmasks
,
dp
3300
x483
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2477
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x664
1516C
Baby Ehab Partitions Again
bitmasks
,
constructive algorithms
,
dp
,
math
1700
x14108
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x25521
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x350
1514B
AND 0, Sum Big
bitmasks
,
combinatorics
,
math
1200
x34913
1513B
AND Sequences
bitmasks
,
combinatorics
,
constructive algorithms
,
math
1400
x20092
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x939
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1726
1500C
Matrix Sorting
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
two pointers
2600
x915
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x1058
1498B
Box Fitting
binary search
,
bitmasks
,
data structures
,
greedy
1300
x23321
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1739
1494B
Berland Crossword
bitmasks
,
brute force
,
greedy
,
implementation
1400
x15315
1494A
ABC String
bitmasks
,
brute force
,
implementation
900
x22808
1493F
Enchanted Matrix
bitmasks
,
interactive
,
number theory
2600
x503
1493E
Enormous XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
,
strings
,
two pointers
2600
x1086
1492D
Genius's Gambit
bitmasks
,
constructive algorithms
,
greedy
,
math
1900
x6512
←
1
2
3
4
5
6
7
→
User lists
Name