Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2) and CodeCraft-23
2 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
trees
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
406D
Hill Climbing
dfs and similar
,
geometry
,
trees
2200
x1123
1254D
Tree Queries
data structures
,
probabilities
,
trees
2700
x1119
995F
Cowmpany Cowmpensation
combinatorics
,
dp
,
math
,
trees
2700
x1116
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1105
894D
Ralph And His Tour in Binary Country
brute force
,
data structures
,
trees
2200
x1104
733F
Drivers Dissatisfaction
data structures
,
dsu
,
graphs
,
trees
2200
x1087
1146F
Leaf Partition
dp
,
trees
2500
x1083
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1081
601D
Acyclic Organic Compounds
data structures
,
dfs and similar
,
dsu
,
hashing
,
strings
,
trees
2400
x1081
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x1071
1188A2
Add on a Tree: Revolution
constructive algorithms
,
dfs and similar
,
implementation
,
trees
2500
x1066
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1064
1868C
Travel Plan
combinatorics
,
dp
,
implementation
,
math
,
trees
2400
x1059
827D
Best Edge Weight
data structures
,
dfs and similar
,
graphs
,
trees
2700
x1053
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
x1051
557E
Ann and Half-Palindrome
data structures
,
dp
,
graphs
,
string suffix structures
,
strings
,
trees
2300
x1046
1795F
Blocking Chips
binary search
,
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2400
x1037
575B
Bribes
dfs and similar
,
graphs
,
trees
2200
x1037
258E
Little Elephant and Tree
data structures
,
dfs and similar
,
trees
2400
x1018
238C
World Eater Brothers
dfs and similar
,
dp
,
greedy
,
trees
2100
x1017
812E
Sagheer and Apple Tree
games
,
trees
2300
x1013
632F
Magic Matrix
brute force
,
divide and conquer
,
graphs
,
matrices
,
trees
2400
x1011
176E
Archaeology
data structures
,
dfs and similar
,
trees
3100
x1010
1004E
Sonya and Ice Cream
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
trees
2400
x1006
1585E
Frequency Queries
data structures
,
dfs and similar
,
trees
2400
x1003
337E
Divisor Tree
brute force
,
number theory
,
trees
2200
x1002
1794E
Labeling the Tree with Distances
data structures
,
dp
,
greedy
,
hashing
,
implementation
,
trees
2400
x998
1858E2
Rollbacks (Hard Version)
data structures
,
interactive
,
trees
2600
x996
917D
Stranger Trees
dp
,
math
,
matrices
,
trees
2600
x996
724G
Xor-matic Number of the Graph
bitmasks
,
graphs
,
math
,
number theory
,
trees
2600
x990
1192B
Dynamic Diameter
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
trees
x988
835F
Roads in the Kingdom
dfs and similar
,
dp
,
graphs
,
trees
2500
x987
77C
Beavermuncher-0xFF
dfs and similar
,
dp
,
dsu
,
greedy
,
trees
2100
x977
1332F
Independent Set
dfs and similar
,
dp
,
trees
2500
x974
870E
Points, Lines and Ready-made Titles
dfs and similar
,
dsu
,
graphs
,
trees
2300
x972
1625E1
Cats on the Upgrade (easy version)
brute force
,
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
trees
2500
x970
629E
Famil Door and Roads
combinatorics
,
data structures
,
dfs and similar
,
dp
,
probabilities
,
trees
2300
x965
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x961
573C
Bear and Drawing
constructive algorithms
,
dfs and similar
,
trees
2300
x950
1771F
Hossam and Range Minimum Query
binary search
,
bitmasks
,
data structures
,
hashing
,
probabilities
,
strings
,
trees
2500
x946
1132G
Greedy Subsequences
data structures
,
dp
,
trees
2400
x944
442D
Adam and Tree
data structures
,
trees
2600
x944
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x943
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x943
1437G
Death DBMS
data structures
,
string suffix structures
,
strings
,
trees
2600
x935
512D
Fox And Travelling
dp
,
trees
2900
x927
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x923
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x917
1280D
Miss Punyverse
dp
,
greedy
,
trees
2500
x915
1661E
Narrow Components
brute force
,
data structures
,
dp
,
dsu
,
math
,
trees
2500
x908
1099F
Cookies
binary search
,
data structures
,
dfs and similar
,
dp
,
games
,
trees
2400
x906
372D
Choosing Subtree is Fun
binary search
,
data structures
,
dfs and similar
,
trees
,
two pointers
2600
x905
1691F
K-Set Tree
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2500
x900
429C
Guess the Tree
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
trees
2300
x898
633F
The Chocolate Spree
dfs and similar
,
dp
,
graphs
,
trees
2600
x897
1184E2
Daleks' Invasion (medium)
dfs and similar
,
graphs
,
shortest paths
,
trees
2100
x894
1032F
Vasya and Maximum Matching
dp
,
trees
2400
x891
294E
Shaass the Great
dp
,
trees
2300
x884
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x880
690C3
Brain Network (hard)
trees
2200
x878
1764F
Doremy's Experimental Tree
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
sortings
,
trees
2500
x874
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x872
990F
Flow Control
dfs and similar
,
dp
,
greedy
,
trees
2400
x868
566A
Matching Names
dfs and similar
,
strings
,
trees
2300
x866
1252F
Regular Forestation
hashing
,
trees
2400
x865
983E
NN country
binary search
,
data structures
,
trees
2800
x865
1098C
Construct a tree
binary search
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2400
x864
1225F
Tree Factory
constructive algorithms
,
greedy
,
trees
2500
x863
935E
Fafa and Ancient Mathematics
dfs and similar
,
dp
,
trees
2300
x862
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x856
504E
Misha and LCP on Tree
binary search
,
dfs and similar
,
hashing
,
string suffix structures
,
trees
3000
x856
509F
Progress Monitoring
dp
,
trees
2300
x855
846E
Chemistry in Berland
dfs and similar
,
greedy
,
trees
2300
x849
859D
Third Month Insanity
dp
,
probabilities
,
trees
2100
x846
778C
Peterson Polyglot
brute force
,
dfs and similar
,
dsu
,
hashing
,
strings
,
trees
2500
x845
1034C
Region Separation
combinatorics
,
dp
,
number theory
,
trees
2700
x843
87D
Beautiful Road
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2300
x843
374D
Inna and Sequence
binary search
,
data structures
,
dp
,
trees
2000
x842
735E
Ostap and Tree
dp
,
trees
2500
x840
581F
Zublicanes and Mumocrates
dp
,
trees
,
two pointers
2400
x839
1111E
Tree
data structures
,
dfs and similar
,
dp
,
graphs
,
trees
2500
x838
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x837
1696F
Tree Recovery
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x836
1083C
Max Mex
data structures
,
trees
2900
x836
1575I
Illusions of the Desert
data structures
,
trees
2300
x833
1263F
Economic Difficulties
data structures
,
dfs and similar
,
dp
,
flows
,
graphs
,
trees
2400
x831
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x827
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x826
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x826
1767E
Algebra Flash
bitmasks
,
brute force
,
dp
,
graphs
,
math
,
meet-in-the-middle
,
trees
2500
x823
1628E
Groceries in Meteor Town
binary search
,
data structures
,
dsu
,
trees
3100
x820
1778E
The Tree Has Fallen!
bitmasks
,
dfs and similar
,
math
,
trees
2500
x809
1777F
Comfortably Numb
bitmasks
,
data structures
,
divide and conquer
,
strings
,
trees
2400
x806
191E
Thwarting Demonstrations
binary search
,
data structures
,
trees
2200
x803
1394D
Boboniu and Jianghu
dp
,
greedy
,
sortings
,
trees
2800
x801
928D
Autocompletion
*special problem
,
strings
,
trees
1900
x800
1182D
Complete Mirror
constructive algorithms
,
dfs and similar
,
dp
,
hashing
,
implementation
,
trees
2400
x798
1519E
Off by One
constructive algorithms
,
dfs and similar
,
geometry
,
graphs
,
sortings
,
trees
2700
x797
1340D
Nastya and Time Machine
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2600
x796
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x794
←
1
2
3
4
5
6
7
8
→
User lists
Name