Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Teams
Sign in
Sign up
×
Close
NTUCPC Challenge! #1 題解公開!
連結
IOIC 2025 題目已公開!
連結
程式解題社網站
程式解題社網站
上線了!
NTUCPC OJ 現在支援 Rust !
NTUCPCPC
NTUCPC Programming Contest
開放報名!
Results of submission #83439
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
111. 樹上主義的教室
9673
65664
Accepted
100
Subtask Results
Subtask no.
Testdata Range
Constraints
Score
1
0~2
範例測資
0
/ 0
2
1, 3~11
保證樹是一條路徑
21
/ 21
3
0~1, 12~22
$\forall 1\leq i\leq N - 1, d_i = i + 1, d_N = 1$
34
/ 34
4
0~41
無特別限制
45
/ 45
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
1
3
4
000
3.3
6528
3456
Accepted
100
1
1
2
3
4
000
4.1
6528
3456
Accepted
100
2
1
4
000
4.3
6528
3456
Accepted
100
3
2
4
000
4.1
6528
3456
Accepted
100
4
2
4
000
4.3
6528
3456
Accepted
100
5
2
4
000
4.5
6528
3456
Accepted
100
6
2
4
000
9.5
6808
3456
Accepted
100
7
2
4
00
47.4
9084
5760
Accepted
100
8
2
4
0
392.6
35480
31104
Accepted
100
9
2
4
1235.2
67264
62208
Accepted
100
10
2
4
1513.4
65344
61056
Accepted
100
11
2
4
1407.6
66272
61056
Accepted
100
12
3
4
000
3.8
6528
3456
Accepted
100
13
3
4
000
3.8
6528
3456
Accepted
100
14
3
4
000
4.0
6528
3456
Accepted
100
15
3
4
000
3.0
6528
3456
Accepted
100
16
3
4
000
4.0
6528
3456
Accepted
100
17
3
4
000
3.8
6528
3456
Accepted
100
18
3
4
000
4.0
6528
3456
Accepted
100
19
3
4
00
14.3
7072
3456
Accepted
100
20
3
4
00
48.0
12348
8064
Accepted
100
21
3
4
0
310.4
36760
32256
Accepted
100
22
3
4
0
442.9
70040
65664
Accepted
100
23
4
000
3.8
6528
3456
Accepted
100
24
4
000
4.0
6528
3456
Accepted
100
25
4
000
3.1
6528
3456
Accepted
100
26
4
000
6.4
6660
3456
Accepted
100
27
4
000
8.7
6800
3456
Accepted
100
28
4
00
31.0
9292
5760
Accepted
100
29
4
00
42.8
9224
5760
Accepted
100
30
4
0
333.8
36396
31104
Accepted
100
31
4
0
542.9
67008
62208
Accepted
100
32
4
0
700.2
65524
61056
Accepted
100
33
4
0
792.5
67472
62208
Accepted
100
34
4
000
4.1
6528
3456
Accepted
100
35
4
000
4.0
6528
3456
Accepted
100
36
4
000
6.3
6660
3456
Accepted
100
37
4
00
21.1
8060
4608
Accepted
100
38
4
0
109.5
22912
18432
Accepted
100
39
4
0
542.2
57684
52992
Accepted
100
40
4
0
660.9
57636
52992
Accepted
100
41
4
0
382.9
58404
54144
Accepted
100
Submitter:
shik
Compiler:
c++23
Code Length:
5.86 KB
Back to Top