Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9241
24304
Wrong Answer
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資。 0 / 0
2 3~13 N, Q <= 5000 0 / 7
3 14~21 ans > 0, tree generated randomly 0 / 12
4 22~32 tree is a chain 0 / 22
5 3~64 N, Q <= 10^ 5 0 / 59

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.3 6056 3224 Accepted 100
1 1 0002.5 6056 3384 Accepted 100
2 1 0002.4 6056 3208 Accepted 100
3 2 5 0010.8 6800 4016 Wrong Answer 0
4 2 5 0010.4 6800 3824 Wrong Answer 0
5 2 5 0010.4 6800 3864 Accepted 100
6 2 5 0008.4 6800 3928 Accepted 100
7 2 5 0010.8 7004 4300 Wrong Answer 0
8 2 5 0010.7 7012 4292 Wrong Answer 0
9 2 5 0010.6 7004 4284 Accepted 100
10 2 5 0009.5 6772 4056 Accepted 100
11 2 5 0010.5 6692 3972 Accepted 100
12 2 5 0009.0 6776 4076 Accepted 100
13 2 5 0008.4 6696 3976 Accepted 100
14 3 5 0116.0 21516 17132 Wrong Answer 0
15 3 5 0114.7 21516 16960 Wrong Answer 0
16 3 5 0116.3 21516 17196 Wrong Answer 0
17 3 5 0117.6 21516 17220 Wrong Answer 0
18 3 5 0110.1 21516 17228 Accepted 100
19 3 5 0111.2 21516 16964 Accepted 100
20 3 5 0107.6 21520 17056 Accepted 100
21 3 5 0109.7 21516 16932 Accepted 100
22 4 5 0238.5 27396 24068 Wrong Answer 0
23 4 5 0242.0 27400 24300 Wrong Answer 0
24 4 5 0234.6 27400 24236 Wrong Answer 0
25 4 5 0236.9 27396 24300 Wrong Answer 0
26 4 5 0230.5 27396 24288 Accepted 100
27 4 5 0229.5 27400 24232 Accepted 100
28 4 5 0234.2 27396 24304 Accepted 100
29 4 5 0233.6 27400 24132 Accepted 100
30 4 5 0133.9 27400 24084 Accepted 100
31 4 5 0123.6 27396 24208 Accepted 100
32 4 5 0121.2 27396 24232 Accepted 100
33 5 0208.3 21516 17208 Wrong Answer 0
34 5 0209.3 21516 17140 Wrong Answer 0
35 5 0202.0 21516 17104 Wrong Answer 0
36 5 0201.1 21516 17232 Wrong Answer 0
37 5 0197.8 21516 16960 Wrong Answer 0
38 5 0210.7 21512 16964 Wrong Answer 0
39 5 0208.6 21520 17220 Wrong Answer 0
40 5 0208.3 21516 17032 Wrong Answer 0
41 5 0212.4 21516 17192 Accepted 100
42 5 0200.6 21516 16972 Accepted 100
43 5 0211.5 21512 17176 Accepted 100
44 5 0200.7 21516 16980 Accepted 100
45 5 0192.3 21516 17068 Accepted 100
46 5 0174.9 21516 17040 Accepted 100
47 5 0156.7 21520 17212 Accepted 100
48 5 0192.9 21152 17896 Accepted 100
49 5 0190.6 20372 16972 Accepted 100
50 5 0192.9 19904 16720 Accepted 100
51 5 0194.4 19588 16580 Accepted 100
52 5 0194.9 19364 16160 Accepted 100
53 5 0197.5 19196 16100 Accepted 100
54 5 0194.5 19064 16120 Accepted 100
55 5 0193.1 20364 16940 Accepted 100
56 5 0191.1 20368 17528 Accepted 100
57 5 0196.7 19900 16896 Accepted 100
58 5 0195.8 19896 16680 Accepted 100
59 5 0196.4 19588 16580 Accepted 100
60 5 0194.4 19584 16640 Accepted 100
61 5 0098.7 24744 19336 Accepted 100
62 5 0098.8 24744 19244 Accepted 100
63 5 0122.6 25284 21344 Accepted 100
64 5 0122.6 25288 21364 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
7.31 KB
Back to Top