Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
3740 . Double 01 on Tree
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
PixelCat
User's AC Ratio
100.0% (
2/2
)
Submission's AC Ratio
42.9% (
3
/
7
)
Tags
Show solution-related tags
JAG Summer Camp 2025 Day2
Description
The PDF version of the problemset can be downloaded here.
Input Format
Output Format
Sample Input 1
copy
Sample Output 1
copy
Hints
Problem Source
Subtasks
No.
Testdata Range
Score
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
2000
1048576
1048576
1
2000
1048576
1048576
2
2000
1048576
1048576
3
2000
1048576
1048576
4
2000
1048576
1048576
5
2000
1048576
1048576
6
2000
1048576
1048576
7
2000
1048576
1048576
8
2000
1048576
1048576
9
2000
1048576
1048576
10
2000
1048576
1048576
11
2000
1048576
1048576
12
2000
1048576
1048576
13
2000
1048576
1048576
14
2000
1048576
1048576
15
2000
1048576
1048576
16
2000
1048576
1048576
17
2000
1048576
1048576
18
2000
1048576
1048576
19
2000
1048576
1048576
20
2000
1048576
1048576
21
2000
1048576
1048576
22
2000
1048576
1048576
23
2000
1048576
1048576
24
2000
1048576
1048576
25
2000
1048576
1048576
26
2000
1048576
1048576
27
2000
1048576
1048576
28
2000
1048576
1048576
29
2000
1048576
1048576
30
2000
1048576
1048576
31
2000
1048576
1048576
32
2000
1048576
1048576
33
2000
1048576
1048576
34
2000
1048576
1048576
35
2000
1048576
1048576
36
2000
1048576
1048576
37
2000
1048576
1048576
38
2000
1048576
1048576
39
2000
1048576
1048576
40
2000
1048576
1048576
41
2000
1048576
1048576
42
2000
1048576
1048576
43
2000
1048576
1048576
44
2000
1048576
1048576
45
2000
1048576
1048576
46
2000
1048576
1048576
47
2000
1048576
1048576
48
2000
1048576
1048576
49
2000
1048576
1048576
50
2000
1048576
1048576
51
2000
1048576
1048576
52
2000
1048576
1048576
53
2000
1048576
1048576
54
2000
1048576
1048576
55
2000
1048576
1048576
Submit
Back to Top