Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

45376
437584
Memory Limit Exceeded
19

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~13 $N,Q\le 5000$ 7 / 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 19892 Accepted 100
1 1 0036.0 19900 Accepted 100
2 1 0036.0 19776 Accepted 100
3 2 5 0072.0 20920 Accepted 100
4 2 5 0076.0 20980 Accepted 100
5 2 5 0072.0 20996 Accepted 100
6 2 5 0068.0 20900 Accepted 100
7 2 5 0468.0 231840 Accepted 100
8 2 5 0456.0 231832 Accepted 100
9 2 5 0552.0 231824 Accepted 100
10 2 5 0328.0 133872 Accepted 100
11 2 5 0308.0 100384 Accepted 100
12 2 5 0336.0 133884 Accepted 100
13 2 5 0268.0 100352 Accepted 100
14 3 5 1004.0 48052 Accepted 100
15 3 5 0984.0 48056 Accepted 100
16 3 5 0952.0 48024 Accepted 100
17 3 5 0968.0 48140 Accepted 100
18 3 5 0972.0 48068 Accepted 100
19 3 5 0988.0 48036 Accepted 100
20 3 5 0980.0 48008 Accepted 100
21 3 5 0968.0 48048 Accepted 100
22 4 5 0568.0 388964 Memory Limit Exceeded 0
23 4 5 0564.0 388964 Memory Limit Exceeded 0
24 4 5 0560.0 388956 Memory Limit Exceeded 0
25 4 5 0568.0 388844 Memory Limit Exceeded 0
26 4 5 0564.0 388820 Memory Limit Exceeded 0
27 4 5 0564.0 388872 Memory Limit Exceeded 0
28 4 5 0580.0 388872 Memory Limit Exceeded 0
29 4 5 0560.0 388856 Memory Limit Exceeded 0
30 4 5 0576.0 388820 Memory Limit Exceeded 0
31 4 5 0564.0 388948 Memory Limit Exceeded 0
32 4 5 0568.0 388952 Memory Limit Exceeded 0
33 5 1268.0 47920 Accepted 100
34 5 1260.0 48052 Accepted 100
35 5 1220.0 48012 Accepted 100
36 5 1284.0 48056 Accepted 100
37 5 1260.0 48032 Accepted 100
38 5 1040.0 48040 Accepted 100
39 5 1216.0 48112 Accepted 100
40 5 1248.0 48032 Accepted 100
41 5 1264.0 48040 Accepted 100
42 5 1220.0 48040 Accepted 100
43 5 1212.0 47996 Accepted 100
44 5 1184.0 48008 Accepted 100
45 5 1260.0 48000 Accepted 100
46 5 1108.0 48084 Accepted 100
47 5 1040.0 47900 Accepted 100
48 5 0636.0 423320 Memory Limit Exceeded 0
49 5 0616.0 407008 Memory Limit Exceeded 0
50 5 0620.0 403936 Memory Limit Exceeded 0
51 5 0620.0 407684 Memory Limit Exceeded 0
52 5 0636.0 415520 Memory Limit Exceeded 0
53 5 0656.0 425820 Memory Limit Exceeded 0
54 5 0652.0 437584 Memory Limit Exceeded 0
55 5 0628.0 406752 Memory Limit Exceeded 0
56 5 0612.0 406756 Memory Limit Exceeded 0
57 5 0608.0 403760 Memory Limit Exceeded 0
58 5 0604.0 403848 Memory Limit Exceeded 0
59 5 0624.0 407616 Memory Limit Exceeded 0
60 5 0608.0 407752 Memory Limit Exceeded 0
61 5 0372.0 49160 Accepted 100
62 5 0372.0 49160 Accepted 100
63 5 0632.0 388192 Memory Limit Exceeded 0
64 5 0632.0 388228 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
15.5 KB
Back to Top