Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40160
437456
Memory Limit Exceeded
12

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 12 / 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 (RSS, KiB) Verdict Score
0 1 0036.0 19864 Accepted 100
1 1 0036.0 19952 Accepted 100
2 1 0036.0 19812 Accepted 100
3 2 5 0056.0 20972 Memory Limit Exceeded 0
4 2 5 0056.0 21064 Memory Limit Exceeded 0
5 2 5 0056.0 21140 Memory Limit Exceeded 0
6 2 5 0056.0 21148 Memory Limit Exceeded 0
7 2 5 0452.0 231816 Accepted 100
8 2 5 0452.0 231860 Accepted 100
9 2 5 0556.0 231836 Accepted 100
10 2 5 0332.0 133996 Accepted 100
11 2 5 0308.0 100348 Accepted 100
12 2 5 0340.0 133788 Accepted 100
13 2 5 0272.0 100356 Accepted 100
14 3 5 0932.0 47928 Accepted 100
15 3 5 0920.0 47632 Accepted 100
16 3 5 0928.0 47652 Accepted 100
17 3 5 0940.0 47896 Accepted 100
18 3 5 0936.0 47884 Accepted 100
19 3 5 0940.0 47848 Accepted 100
20 3 5 0936.0 47852 Accepted 100
21 3 5 0932.0 47804 Accepted 100
22 4 5 0560.0 377756 Memory Limit Exceeded 0
23 4 5 0548.0 377708 Memory Limit Exceeded 0
24 4 5 0560.0 377860 Memory Limit Exceeded 0
25 4 5 0572.0 377744 Memory Limit Exceeded 0
26 4 5 0552.0 377828 Memory Limit Exceeded 0
27 4 5 0544.0 377756 Memory Limit Exceeded 0
28 4 5 0552.0 377920 Memory Limit Exceeded 0
29 4 5 0552.0 377880 Memory Limit Exceeded 0
30 4 5 0552.0 377924 Memory Limit Exceeded 0
31 4 5 0564.0 377816 Memory Limit Exceeded 0
32 4 5 0560.0 377692 Memory Limit Exceeded 0
33 5 0904.0 47820 Memory Limit Exceeded 0
34 5 0896.0 47672 Memory Limit Exceeded 0
35 5 0892.0 47828 Memory Limit Exceeded 0
36 5 0900.0 47744 Memory Limit Exceeded 0
37 5 0924.0 47724 Memory Limit Exceeded 0
38 5 0896.0 47864 Memory Limit Exceeded 0
39 5 0904.0 47844 Memory Limit Exceeded 0
40 5 0904.0 47748 Memory Limit Exceeded 0
41 5 0876.0 47988 Memory Limit Exceeded 0
42 5 0904.0 47708 Memory Limit Exceeded 0
43 5 0888.0 47760 Memory Limit Exceeded 0
44 5 0896.0 47688 Memory Limit Exceeded 0
45 5 0884.0 47840 Memory Limit Exceeded 0
46 5 0904.0 47812 Memory Limit Exceeded 0
47 5 0892.0 47676 Memory Limit Exceeded 0
48 5 0628.0 423348 Memory Limit Exceeded 0
49 5 0608.0 406760 Memory Limit Exceeded 0
50 5 0612.0 403608 Memory Limit Exceeded 0
51 5 0616.0 407556 Memory Limit Exceeded 0
52 5 0628.0 415412 Memory Limit Exceeded 0
53 5 0640.0 425480 Memory Limit Exceeded 0
54 5 0652.0 437456 Memory Limit Exceeded 0
55 5 0612.0 406796 Memory Limit Exceeded 0
56 5 0604.0 406632 Memory Limit Exceeded 0
57 5 0616.0 403788 Memory Limit Exceeded 0
58 5 0608.0 403772 Memory Limit Exceeded 0
59 5 0616.0 407536 Memory Limit Exceeded 0
60 5 0616.0 407540 Memory Limit Exceeded 0
61 5 0380.0 48696 Accepted 100
62 5 0384.0 48700 Accepted 100
63 5 0628.0 388228 Memory Limit Exceeded 0
64 5 0624.0 388304 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
17.2 KB
Back to Top