Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24396
371672
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 16 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 31 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 16 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 4 0012.0 16524 Accepted 100
1 1 4 0028.0 16648 Accepted 100
2 1 4 0064.0 18320 Accepted 100
3 1 4 0088.0 16656 Accepted 100
4 1 4 0068.0 18220 Accepted 100
5 1 4 0092.0 19492 Accepted 100
6 1 4 0052.0 16096 Accepted 100
7 1 4 0060.0 16860 Accepted 100
8 1 4 0112.0 19692 Accepted 100
9 1 4 0016.0 16564 Accepted 100
10 2 4 1376.0 217312 Accepted 100
11 2 4 0288.0 64072 Accepted 100
12 2 4 1668.0 270956 Accepted 100
13 2 4 0260.0 42700 Accepted 100
14 2 4 0568.0 105656 Accepted 100
15 2 4 0256.0 45624 Accepted 100
16 2 4 1348.0 201212 Accepted 100
17 2 4 0288.0 60156 Accepted 100
18 2 4 0204.0 51408 Accepted 100
19 2 4 0268.0 55288 Accepted 100
20 3 4 0832.0 251832 Accepted 100
21 3 4 0728.0 183044 Accepted 100
22 3 4 1212.0 371672 Accepted 100
23 3 4 1044.0 334956 Accepted 100
24 3 4 1236.0 323940 Accepted 100
25 3 4 0592.0 155048 Accepted 100
26 3 4 0948.0 274228 Accepted 100
27 3 4 0888.0 273192 Accepted 100
28 3 4 1172.0 370708 Accepted 100
29 3 4 0992.0 278248 Accepted 100
30 4 0772.0 165076 Accepted 100
31 4 0392.0 88620 Accepted 100
32 4 0344.0 61280 Accepted 100
33 4 0664.0 133060 Accepted 100
34 4 0336.0 75296 Accepted 100
35 4 0224.0 46800 Accepted 100
36 4 1264.0 219244 Accepted 100
37 4 0376.0 64080 Accepted 100
38 4 1140.0 256220 Accepted 100
39 4 0968.0 201800 Accepted 100
40 4 0208.0 51444 Accepted 100
41 4 0216.0 54860 Accepted 100
42 4 0248.0 57532 Accepted 100
43 4 0316.0 62856 Accepted 100
44 4 0168.0 47848 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.05 KB
Back to Top