Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30096
412592
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 0004.0 409364 4916 Accepted 100
1 1 4 0025.4 409364 5940 Accepted 100
2 1 4 0074.1 409364 5804 Accepted 100
3 1 4 0119.4 409364 6152 Accepted 100
4 1 4 0078.6 409364 5600 Accepted 100
5 1 4 0113.9 409364 8220 Accepted 100
6 1 4 0064.0 409364 5040 Accepted 100
7 1 4 0082.1 409364 7296 Accepted 100
8 1 4 0130.7 409364 8348 Accepted 100
9 1 4 0006.3 409364 4876 Accepted 100
10 2 4 0986.5 411476 308104 Accepted 100
11 2 4 0973.6 412348 396360 Accepted 100
12 2 4 1074.4 412136 390800 Accepted 100
13 2 4 0691.0 410860 220820 Accepted 100
14 2 4 0493.7 410552 184228 Accepted 100
15 2 4 0729.1 410932 245272 Accepted 100
16 2 4 1114.2 411740 346156 Accepted 100
17 2 4 0627.5 411092 242532 Accepted 100
18 2 4 0706.0 412348 291748 Accepted 100
19 2 4 0852.9 412348 324232 Accepted 100
20 3 4 0805.0 413460 280824 Accepted 100
21 3 4 0697.0 412200 204004 Accepted 100
22 3 4 1090.7 415520 412592 Accepted 100
23 3 4 0937.6 414836 369252 Accepted 100
24 3 4 1170.3 414592 357468 Accepted 100
25 3 4 0588.1 411764 172044 Accepted 100
26 3 4 0871.6 413824 304720 Accepted 100
27 3 4 0817.2 413816 303424 Accepted 100
28 3 4 1040.0 415364 410076 Accepted 100
29 3 4 0898.6 413864 308912 Accepted 100
30 4 0628.8 410952 227204 Accepted 100
31 4 0955.9 412292 399840 Accepted 100
32 4 1003.7 412348 372732 Accepted 100
33 4 0693.5 410816 218576 Accepted 100
34 4 0796.0 411744 325500 Accepted 100
35 4 0694.8 410932 253896 Accepted 100
36 4 1108.9 412004 379848 Accepted 100
37 4 0926.7 412348 396136 Accepted 100
38 4 1013.1 411844 337556 Accepted 100
39 4 0920.6 411256 261264 Accepted 100
40 4 0757.5 412348 291680 Accepted 100
41 4 0802.3 412348 321360 Accepted 100
42 4 0606.1 410996 228556 Accepted 100
43 4 0696.6 411144 258060 Accepted 100
44 4 0628.8 410932 261896 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.96 KB
Back to Top