Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

38960
437512
Memory Limit Exceeded
12

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~13 $N,Q\le 5000$ 0 / 7
3 14~21 每次答案皆⾮零,且樹是隨機⽣成的 12 / 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 (RSS, KiB) Verdict Score
0 1 0036.0 19812 Accepted 100
1 1 0036.0 19888 Accepted 100
2 1 0036.0 19828 Accepted 100
3 2 5 0048.0 21068 Memory Limit Exceeded 0
4 2 5 0052.0 21192 Memory Limit Exceeded 0
5 2 5 0052.0 21292 Memory Limit Exceeded 0
6 2 5 0052.0 20928 Memory Limit Exceeded 0
7 2 5 0448.0 231832 Accepted 100
8 2 5 0452.0 231852 Accepted 100
9 2 5 0548.0 231868 Accepted 100
10 2 5 0328.0 133900 Accepted 100
11 2 5 0308.0 100324 Accepted 100
12 2 5 0336.0 133876 Accepted 100
13 2 5 0268.0 100388 Accepted 100
14 3 5 0928.0 47888 Accepted 100
15 3 5 0904.0 47700 Accepted 100
16 3 5 0908.0 47700 Accepted 100
17 3 5 0920.0 47860 Accepted 100
18 3 5 0948.0 47888 Accepted 100
19 3 5 0932.0 47908 Accepted 100
20 3 5 0928.0 47788 Accepted 100
21 3 5 0916.0 47780 Accepted 100
22 4 5 0552.0 377752 Memory Limit Exceeded 0
23 4 5 0552.0 377792 Memory Limit Exceeded 0
24 4 5 0548.0 377708 Memory Limit Exceeded 0
25 4 5 0556.0 377860 Memory Limit Exceeded 0
26 4 5 0548.0 377704 Memory Limit Exceeded 0
27 4 5 0552.0 377868 Memory Limit Exceeded 0
28 4 5 0548.0 377868 Memory Limit Exceeded 0
29 4 5 0548.0 377724 Memory Limit Exceeded 0
30 4 5 0552.0 377760 Memory Limit Exceeded 0
31 4 5 0556.0 377852 Memory Limit Exceeded 0
32 4 5 0548.0 377856 Memory Limit Exceeded 0
33 5 0788.0 47872 Memory Limit Exceeded 0
34 5 0864.0 47700 Memory Limit Exceeded 0
35 5 0832.0 47704 Memory Limit Exceeded 0
36 5 0844.0 47672 Memory Limit Exceeded 0
37 5 0876.0 47824 Memory Limit Exceeded 0
38 5 0808.0 47896 Memory Limit Exceeded 0
39 5 0860.0 47652 Memory Limit Exceeded 0
40 5 0836.0 47848 Memory Limit Exceeded 0
41 5 0820.0 47904 Memory Limit Exceeded 0
42 5 0832.0 47668 Memory Limit Exceeded 0
43 5 0780.0 47888 Memory Limit Exceeded 0
44 5 0796.0 47700 Memory Limit Exceeded 0
45 5 0844.0 47820 Memory Limit Exceeded 0
46 5 0868.0 47848 Memory Limit Exceeded 0
47 5 0856.0 47700 Memory Limit Exceeded 0
48 5 0616.0 423164 Memory Limit Exceeded 0
49 5 0616.0 406728 Memory Limit Exceeded 0
50 5 0608.0 403676 Memory Limit Exceeded 0
51 5 0612.0 407668 Memory Limit Exceeded 0
52 5 0628.0 415516 Memory Limit Exceeded 0
53 5 0636.0 425660 Memory Limit Exceeded 0
54 5 0660.0 437512 Memory Limit Exceeded 0
55 5 0604.0 406748 Memory Limit Exceeded 0
56 5 0604.0 406656 Memory Limit Exceeded 0
57 5 0600.0 403764 Memory Limit Exceeded 0
58 5 0604.0 403792 Memory Limit Exceeded 0
59 5 0616.0 407636 Memory Limit Exceeded 0
60 5 0608.0 407556 Memory Limit Exceeded 0
61 5 0376.0 48580 Accepted 100
62 5 0380.0 48612 Accepted 100
63 5 0624.0 388164 Memory Limit Exceeded 0
64 5 0620.0 388252 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
17.3 KB
Back to Top