Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32211
414028
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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0005.2 416952 4812 Accepted 100
1 1 4 0037.5 416952 5988 Accepted 100
2 1 4 0059.7 416952 5872 Accepted 100
3 1 4 0091.2 416952 6184 Accepted 100
4 1 4 0061.6 416952 5696 Accepted 100
5 1 4 0094.7 416952 8164 Accepted 100
6 1 4 0048.4 416952 4976 Accepted 100
7 1 4 0064.6 416952 7340 Accepted 100
8 1 4 0108.7 416952 8256 Accepted 100
9 1 4 0005.9 416952 4808 Accepted 100
10 2 4 1076.7 418932 308996 Accepted 100
11 2 4 1036.5 419552 397240 Accepted 100
12 2 4 1189.5 419460 391732 Accepted 100
13 2 4 0711.2 418260 221564 Accepted 100
14 2 4 0547.9 418140 184500 Accepted 100
15 2 4 0761.1 418392 246132 Accepted 100
16 2 4 1218.7 419196 347128 Accepted 100
17 2 4 0666.9 418548 243100 Accepted 100
18 2 4 0767.6 419552 292444 Accepted 100
19 2 4 0906.7 419552 325244 Accepted 100
20 3 4 0860.9 421048 281688 Accepted 100
21 3 4 0742.6 419792 204736 Accepted 100
22 3 4 1190.4 423108 414028 Accepted 100
23 3 4 1015.6 422424 370416 Accepted 100
24 3 4 1249.1 422184 358692 Accepted 100
25 3 4 0640.6 419352 172628 Accepted 100
26 3 4 0946.4 421412 305708 Accepted 100
27 3 4 0888.2 421400 304348 Accepted 100
28 3 4 1128.2 422952 411500 Accepted 100
29 3 4 0977.5 421448 309920 Accepted 100
30 4 0710.5 418404 227932 Accepted 100
31 4 1042.7 419524 400868 Accepted 100
32 4 1064.0 419552 373832 Accepted 100
33 4 0767.6 418272 219044 Accepted 100
34 4 0864.8 419064 326356 Accepted 100
35 4 0731.5 418392 254688 Accepted 100
36 4 1224.9 419328 381044 Accepted 100
37 4 1010.2 419552 397216 Accepted 100
38 4 1069.5 419172 338484 Accepted 100
39 4 0974.3 418716 262068 Accepted 100
40 4 0786.2 419552 292624 Accepted 100
41 4 0829.1 419552 322244 Accepted 100
42 4 0637.5 418440 229148 Accepted 100
43 4 0735.5 418572 258608 Accepted 100
44 4 0662.7 418392 262748 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.88 KB
Back to Top