Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5861
4280
Runtime Error (killed by signal)
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.7 6200 3828 Accepted 100
1 1 0002.7 6200 3796 Accepted 100
2 1 0002.6 6200 3740 Accepted 100
3 2 5 0827.5 6332 3944 Wrong Answer 0
4 2 5 0845.7 6332 3956 Wrong Answer 0
5 2 5 0819.0 6332 3988 Accepted 100
6 2 5 0835.2 6332 3928 Accepted 100
7 2 5 0291.5 6444 4280 Wrong Answer 0
8 2 5 0288.6 6444 4092 Wrong Answer 0
9 2 5 0289.0 6440 4136 Accepted 100
10 2 5 0335.5 6440 4172 Accepted 100
11 2 5 0373.3 6364 4060 Accepted 100
12 2 5 0339.1 6444 4176 Accepted 100
13 2 5 0372.1 6364 4160 Accepted 100
14 3 5 0002.7 6200 3580 Runtime Error (killed by signal) 0
15 3 5 0002.8 6200 3420 Runtime Error (killed by signal) 0
16 3 5 0002.9 6200 3560 Runtime Error (killed by signal) 0
17 3 5 0002.9 6200 3568 Runtime Error (killed by signal) 0
18 3 5 0002.9 6200 3536 Runtime Error (killed by signal) 0
19 3 5 0002.8 6200 3540 Runtime Error (killed by signal) 0
20 3 5 0002.8 6200 3568 Runtime Error (killed by signal) 0
21 3 5 0002.7 6200 3420 Runtime Error (killed by signal) 0
22 4 5 0006.0 6332 3592 Runtime Error (killed by signal) 0
23 4 5 0005.8 6332 3604 Runtime Error (killed by signal) 0
24 4 5 0006.3 6332 3604 Runtime Error (killed by signal) 0
25 4 5 0006.2 6332 3596 Runtime Error (killed by signal) 0
26 4 5 0005.9 6332 3608 Runtime Error (killed by signal) 0
27 4 5 0005.7 6332 3688 Runtime Error (killed by signal) 0
28 4 5 0005.6 6332 3596 Runtime Error (killed by signal) 0
29 4 5 0005.9 6332 3800 Runtime Error (killed by signal) 0
30 4 5 0006.1 6332 3728 Runtime Error (killed by signal) 0
31 4 5 0005.7 6332 3804 Runtime Error (killed by signal) 0
32 4 5 0005.6 6332 3680 Runtime Error (killed by signal) 0
33 5 0002.8 6200 3552 Runtime Error (killed by signal) 0
34 5 0002.8 6200 3560 Runtime Error (killed by signal) 0
35 5 0002.7 6200 3416 Runtime Error (killed by signal) 0
36 5 0002.8 6200 3520 Runtime Error (killed by signal) 0
37 5 0002.9 6200 3548 Runtime Error (killed by signal) 0
38 5 0002.8 6200 3576 Runtime Error (killed by signal) 0
39 5 0002.8 6200 3580 Runtime Error (killed by signal) 0
40 5 0002.8 6200 3420 Runtime Error (killed by signal) 0
41 5 0002.7 6200 3508 Runtime Error (killed by signal) 0
42 5 0002.8 6200 3572 Runtime Error (killed by signal) 0
43 5 0002.8 6200 3532 Runtime Error (killed by signal) 0
44 5 0002.6 6200 3420 Runtime Error (killed by signal) 0
45 5 0002.8 6200 3528 Runtime Error (killed by signal) 0
46 5 0002.8 6200 3416 Runtime Error (killed by signal) 0
47 5 0002.7 6200 3528 Runtime Error (killed by signal) 0
48 5 0006.1 6332 3612 Runtime Error (killed by signal) 0
49 5 0005.7 6332 3580 Runtime Error (killed by signal) 0
50 5 0006.2 6332 3756 Runtime Error (killed by signal) 0
51 5 0005.8 6332 3708 Runtime Error (killed by signal) 0
52 5 0005.9 6332 3580 Runtime Error (killed by signal) 0
53 5 0005.9 6332 3720 Runtime Error (killed by signal) 0
54 5 0006.1 6332 3592 Runtime Error (killed by signal) 0
55 5 0006.8 6332 3592 Runtime Error (killed by signal) 0
56 5 0006.6 6332 3616 Runtime Error (killed by signal) 0
57 5 0006.1 6332 3808 Runtime Error (killed by signal) 0
58 5 0006.3 6332 3612 Runtime Error (killed by signal) 0
59 5 0005.9 6332 3624 Runtime Error (killed by signal) 0
60 5 0005.7 6332 3592 Runtime Error (killed by signal) 0
61 5 0005.5 6464 3612 Runtime Error (killed by signal) 0
62 5 0008.2 6464 3736 Runtime Error (killed by signal) 0
63 5 0009.2 6332 3588 Runtime Error (killed by signal) 0
64 5 0005.9 6332 3688 Runtime Error (killed by signal) 0
Submitter:
Compiler:
c++17
Code Length:
713 Bytes
Back to Top