Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6185
4336
Runtime Error (killed by signal)
7

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資。 0 / 0
2 3~13 N, Q <= 5000 7 / 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 0003.0 6240 3676 Accepted 100
1 1 0002.6 6240 3756 Accepted 100
2 1 0002.6 6240 3744 Accepted 100
3 2 5 0882.0 6372 3992 Accepted 100
4 2 5 0882.2 6372 4052 Accepted 100
5 2 5 0900.5 6372 4012 Accepted 100
6 2 5 0887.1 6372 4016 Accepted 100
7 2 5 0300.6 6480 4188 Accepted 100
8 2 5 0303.0 6484 4180 Accepted 100
9 2 5 0300.6 6484 4180 Accepted 100
10 2 5 0355.1 6484 4336 Accepted 100
11 2 5 0387.1 6404 4240 Accepted 100
12 2 5 0347.7 6480 4276 Accepted 100
13 2 5 0400.3 6404 4168 Accepted 100
14 3 5 0002.8 6240 3536 Runtime Error (killed by signal) 0
15 3 5 0003.7 6240 3468 Runtime Error (killed by signal) 0
16 3 5 0002.9 6240 3456 Runtime Error (killed by signal) 0
17 3 5 0002.8 6240 3440 Runtime Error (killed by signal) 0
18 3 5 0002.8 6240 3572 Runtime Error (killed by signal) 0
19 3 5 0002.8 6240 3416 Runtime Error (killed by signal) 0
20 3 5 0002.8 6240 3432 Runtime Error (killed by signal) 0
21 3 5 0002.7 6240 3424 Runtime Error (killed by signal) 0
22 4 5 0006.0 6372 3732 Runtime Error (killed by signal) 0
23 4 5 0006.0 6372 3692 Runtime Error (killed by signal) 0
24 4 5 0006.0 6372 3808 Runtime Error (killed by signal) 0
25 4 5 0005.9 6372 3728 Runtime Error (killed by signal) 0
26 4 5 0005.8 6372 3540 Runtime Error (killed by signal) 0
27 4 5 0006.0 6372 3596 Runtime Error (killed by signal) 0
28 4 5 0005.8 6372 3620 Runtime Error (killed by signal) 0
29 4 5 0005.7 6372 3724 Runtime Error (killed by signal) 0
30 4 5 0005.8 6372 3616 Runtime Error (killed by signal) 0
31 4 5 0005.8 6372 3700 Runtime Error (killed by signal) 0
32 4 5 0005.8 6372 3696 Runtime Error (killed by signal) 0
33 5 0002.6 6240 3456 Runtime Error (killed by signal) 0
34 5 0002.8 6240 3532 Runtime Error (killed by signal) 0
35 5 0002.7 6240 3500 Runtime Error (killed by signal) 0
36 5 0002.7 6240 3572 Runtime Error (killed by signal) 0
37 5 0002.6 6240 3536 Runtime Error (killed by signal) 0
38 5 0002.7 6240 3552 Runtime Error (killed by signal) 0
39 5 0002.7 6240 3448 Runtime Error (killed by signal) 0
40 5 0002.8 6240 3556 Runtime Error (killed by signal) 0
41 5 0002.6 6240 3476 Runtime Error (killed by signal) 0
42 5 0002.8 6240 3540 Runtime Error (killed by signal) 0
43 5 0002.6 6240 3540 Runtime Error (killed by signal) 0
44 5 0002.8 6240 3496 Runtime Error (killed by signal) 0
45 5 0002.7 6240 3524 Runtime Error (killed by signal) 0
46 5 0002.6 6240 3424 Runtime Error (killed by signal) 0
47 5 0002.8 6240 3424 Runtime Error (killed by signal) 0
48 5 0005.9 6372 3592 Runtime Error (killed by signal) 0
49 5 0005.7 6372 3636 Runtime Error (killed by signal) 0
50 5 0005.9 6372 3732 Runtime Error (killed by signal) 0
51 5 0005.8 6372 3608 Runtime Error (killed by signal) 0
52 5 0006.3 6372 3600 Runtime Error (killed by signal) 0
53 5 0009.1 6372 3636 Runtime Error (killed by signal) 0
54 5 0005.8 6372 3580 Runtime Error (killed by signal) 0
55 5 0005.6 6372 3620 Runtime Error (killed by signal) 0
56 5 0005.8 6372 3720 Runtime Error (killed by signal) 0
57 5 0005.7 6372 3620 Runtime Error (killed by signal) 0
58 5 0005.8 6372 3636 Runtime Error (killed by signal) 0
59 5 0006.1 6372 3816 Runtime Error (killed by signal) 0
60 5 0005.9 6372 3692 Runtime Error (killed by signal) 0
61 5 0005.2 6540 3624 Runtime Error (killed by signal) 0
62 5 0005.2 6540 3592 Runtime Error (killed by signal) 0
63 5 0005.9 6504 3744 Runtime Error (killed by signal) 0
64 5 0006.0 6504 3772 Runtime Error (killed by signal) 0
Submitter:
Compiler:
c++17
Code Length:
843 Bytes
Back to Top