Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Pinely Round 4 (Div. 1 + Div. 2)
26:33:04
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
1994F
Stardew Valley
constructive algorithms
,
dfs and similar
,
graphs
,
trees
x836
1994E
Wooden Game
bitmasks
,
greedy
,
math
,
trees
x3046
1994D
Funny Game
constructive algorithms
,
dsu
,
graphs
,
greedy
,
math
,
number theory
,
trees
x4034
1990E2
Catch the Mole(Hard Version)
binary search
,
data structures
,
dfs and similar
,
divide and conquer
,
interactive
,
trees
x606
1990E1
Catch the Mole(Easy Version)
binary search
,
data structures
,
dfs and similar
,
interactive
,
trees
x663
1988D
The Omnipotent Monster Killer
brute force
,
dfs and similar
,
dp
,
trees
2000
x3914
1987G2
Spinning Round (Hard Version)
divide and conquer
,
dp
,
trees
3500
x84
1987G1
Spinning Round (Easy Version)
divide and conquer
,
dp
,
trees
2900
x200
1987E
Wonderful Tree!
brute force
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2000
x2796
1986F
Non-academic Problem
dfs and similar
,
graphs
,
trees
1900
x3767
1984E
Shuffle
dp
,
greedy
,
trees
2400
x1234
1983G
Your Loss
bitmasks
,
brute force
,
dp
,
trees
3000
x171
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
3000
x219
1980G
Yasya and the Mysterious Tree
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
strings
,
trees
2300
x1038
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
2800
x477
1976E
Splittable Permutations
combinatorics
,
data structures
,
dfs and similar
,
greedy
,
math
,
trees
2500
x887
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
2100
x2017
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x5351
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x275
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x474
1970G1
Min-Fund Prison (Easy)
dfs and similar
,
trees
1900
x1120
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1246
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x2145
1970A3
Balanced Unshuffle (Hard)
constructive algorithms
,
trees
2400
x399
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x390
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1530
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x364
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x417
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x234
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x8493
1949J
Amanda the Amoeba
graphs
,
implementation
,
trees
,
two pointers
2600
x356
1949F
Dating
greedy
,
sortings
,
trees
2200
x858
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1492
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x662
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x10027
1943C
Tree Compass
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2300
x1949
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x83
1940C
Burenka and Pether
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
x35
1939B
Evidence Board
*special problem
,
constructive algorithms
,
dfs and similar
,
graphs
,
trees
x214
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x425
1930H
Interactive Mex Tree
constructive algorithms
,
dfs and similar
,
interactive
,
trees
3300
x147
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x323
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1711
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1604
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4474
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x4126
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x3304
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3502
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x434
1919H
Tree Diameter
interactive
,
trees
2000
x137
1919G
Tree LGM
constructive algorithms
,
divide and conquer
,
games
,
trees
3500
x176
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3717
1918F
Caterpillar on a Tree
dfs and similar
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
2500
x825
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x933
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x143
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2158
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1754
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3901
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2937
1910F
Build Railway Stations
*special problem
,
greedy
,
trees
2000
x172
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x906
1905B
Begginer's Zelda
greedy
,
trees
1100
x15863
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x339
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x901
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x597
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x956
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x4099
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1451
1900C
Anji's Binary Tree
dfs and similar
,
dp
,
trees
1300
x11034
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x3055
1899F
Alex's whims
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
trees
1600
x7167
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5816
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3568
1889F
Doremy's Average Tree
data structures
,
dp
,
greedy
,
trees
3500
x73
1889E
Doremy's Swapping Trees
dfs and similar
,
graphs
,
trees
3500
x106
1889D
Game of Stacks
brute force
,
dfs and similar
,
graphs
,
implementation
,
trees
3000
x547
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x849
1882D
Tree XOR
bitmasks
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x5212
1881F
Minimum Maximum Distance
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
1700
x6483
1879E
Interactive Game with Coloring
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
interactive
,
trees
2400
x1227
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1143
1876G
Clubstep
binary search
,
brute force
,
data structures
,
greedy
,
trees
3500
x119
1876E
Ball-Stackable
constructive algorithms
,
data structures
,
dp
,
trees
3300
x261
1873H
Mad City
dfs and similar
,
dsu
,
games
,
graphs
,
shortest paths
,
trees
1700
x7004
1870H
Standard Graph Problem
data structures
,
graphs
,
greedy
,
trees
3500
x81
1868D
Flower-like Pseudotree
constructive algorithms
,
graphs
,
greedy
,
implementation
,
trees
3000
x258
1868C
Travel Plan
combinatorics
,
dp
,
implementation
,
math
,
trees
2400
x1116
1866K
Keen Tree Calculation
binary search
,
data structures
,
dp
,
geometry
,
graphs
,
implementation
,
trees
2500
x433
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2526
1863I
Redundant Routes
constructive algorithms
,
dp
,
trees
3500
x74
1863H
Goldberg Machine 3
dp
,
trees
3500
x74
1861C
Queries for the Array
data structures
,
dfs and similar
,
implementation
,
strings
,
trees
1600
x9819
1859F
Teleportation in Byteland
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
shortest paths
,
trees
3200
x386
1858E2
Rollbacks (Hard Version)
data structures
,
interactive
,
trees
2600
x1028
1858E1
Rollbacks (Easy Version)
brute force
,
data structures
,
dfs and similar
,
trees
2500
x1275
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4271
1857D
Strong Vertices
math
,
sortings
,
trees
1300
x18684
1856E2
PermuTree (hard version)
bitmasks
,
dfs and similar
,
dp
,
fft
,
greedy
,
implementation
,
math
,
trees
2700
x1350
1856E1
PermuTree (easy version)
dfs and similar
,
dp
,
trees
1800
x5129
1854D
Michael and Hotel
binary search
,
interactive
,
trees
3000
x530
←
1
2
3
...
8
9
→
User lists
Name