Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

162051
14352
Time Limit Exceeded
7

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~13 $N,Q\le 5000$ 7 / 7
3 14~21 每次答案皆⾮零,且樹是隨機⽣成的 0 / 12
4 22~32 $(u_i,v_i)=(i,i+1)$ 0 / 22
5 3~64 無額外限制 0 / 59

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0005.3 9332 5932 Accepted 100
1 1 0005.2 9332 5896 Accepted 100
2 1 0005.5 9332 5912 Accepted 100
3 2 5 0706.0 9464 6212 Accepted 100
4 2 5 0707.5 9464 6140 Accepted 100
5 2 5 0681.8 9464 6156 Accepted 100
6 2 5 0718.9 9464 6108 Accepted 100
7 2 5 0258.2 9568 6404 Accepted 100
8 2 5 0258.3 9576 6364 Accepted 100
9 2 5 0258.7 9572 6336 Accepted 100
10 2 5 0303.1 9572 6400 Accepted 100
11 2 5 0334.0 9492 6328 Accepted 100
12 2 5 0301.4 9572 6344 Accepted 100
13 2 5 0334.5 9492 6388 Accepted 100
14 3 5 3096.0 12896 10104 Time Limit Exceeded 0
15 3 5 3087.8 12896 10104 Time Limit Exceeded 0
16 3 5 3098.2 12896 10076 Time Limit Exceeded 0
17 3 5 3100.8 12896 10224 Time Limit Exceeded 0
18 3 5 3092.0 12896 10252 Time Limit Exceeded 0
19 3 5 3081.9 12896 10236 Time Limit Exceeded 0
20 3 5 3078.5 12896 10220 Time Limit Exceeded 0
21 3 5 3075.2 12896 10088 Time Limit Exceeded 0
22 4 5 3088.7 16928 14236 Time Limit Exceeded 0
23 4 5 3093.7 16928 14304 Time Limit Exceeded 0
24 4 5 3083.7 16932 14220 Time Limit Exceeded 0
25 4 5 3074.7 16932 14352 Time Limit Exceeded 0
26 4 5 3055.7 16924 14344 Time Limit Exceeded 0
27 4 5 3095.0 16928 14236 Time Limit Exceeded 0
28 4 5 3078.6 16924 14256 Time Limit Exceeded 0
29 4 5 3070.9 16928 14268 Time Limit Exceeded 0
30 4 5 3060.8 16932 14296 Time Limit Exceeded 0
31 4 5 3055.2 16932 14220 Time Limit Exceeded 0
32 4 5 3094.6 16928 14252 Time Limit Exceeded 0
33 5 3063.4 12896 10096 Time Limit Exceeded 0
34 5 3092.7 12896 10212 Time Limit Exceeded 0
35 5 3086.6 12896 10244 Time Limit Exceeded 0
36 5 3070.3 12896 10176 Time Limit Exceeded 0
37 5 3079.6 12896 10112 Time Limit Exceeded 0
38 5 3056.1 12896 10124 Time Limit Exceeded 0
39 5 3059.3 12896 10208 Time Limit Exceeded 0
40 5 3079.3 12896 10092 Time Limit Exceeded 0
41 5 3095.0 12896 10224 Time Limit Exceeded 0
42 5 3053.8 12896 10132 Time Limit Exceeded 0
43 5 3080.2 12896 10136 Time Limit Exceeded 0
44 5 3091.3 12896 10068 Time Limit Exceeded 0
45 5 3101.7 12896 10148 Time Limit Exceeded 0
46 5 3075.6 12896 10232 Time Limit Exceeded 0
47 5 3076.6 12896 10152 Time Limit Exceeded 0
48 5 3094.1 15368 12692 Time Limit Exceeded 0
49 5 3101.8 14584 12004 Time Limit Exceeded 0
50 5 3096.7 14116 11528 Time Limit Exceeded 0
51 5 3103.2 13804 11068 Time Limit Exceeded 0
52 5 3068.4 13580 10988 Time Limit Exceeded 0
53 5 3080.8 13412 10688 Time Limit Exceeded 0
54 5 3095.4 13280 10700 Time Limit Exceeded 0
55 5 3058.4 14584 12004 Time Limit Exceeded 0
56 5 3080.9 14588 11952 Time Limit Exceeded 0
57 5 3055.0 14120 11460 Time Limit Exceeded 0
58 5 3098.8 14120 11452 Time Limit Exceeded 0
59 5 3088.0 13804 11080 Time Limit Exceeded 0
60 5 3103.0 13800 11172 Time Limit Exceeded 0
61 5 3088.1 13412 10464 Time Limit Exceeded 0
62 5 3102.5 13412 10464 Time Limit Exceeded 0
63 5 3063.2 15380 12656 Time Limit Exceeded 0
64 5 3070.6 15376 12640 Time Limit Exceeded 0
Submitter:
Compiler:
c++20
Code Length:
1.2 KB
Back to Top