close

 
 
 
 
Problems
Image
 
 
# Name    
A
standard input/output
1 s, 256 MB
Submit Image x10488
B
standard input/output
1.5 s, 256 MB
Submit Image x7617
C
standard input/output
2 s, 256 MB
Submit Image x5107
D
standard input/output
2 s, 256 MB
Submit Image x3367
E
standard input/output
4 s, 256 MB
Submit Image x2067
F
standard input/output
2.5 s, 512 MB
Submit Image x623
G
standard input/output
2 s, 512 MB
Submit Image x171
H
standard input/output
8 s, 1024 MB
Submit Image x117
Complete problemset
 
 
 
 
Questions about problems
Image
 
 
  Question Answer
2026-04-25 18:28:37
Announcement
Problem F. Building Tree
*****
Note that:
1. dis(u, u) = 0 because it's the MEX of an empty set.
2. if c_u and c_v is not connected in the original graph, it is not possible to connect u and v directly in the new graph.
2026-04-25 17:36:12
Announcement
General announcement
*****
Hacks are disabled for problems A-D. System tests are equal to pretests plus hacks in all problems.