Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30500
412664
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 0003.9 409364 4776 Accepted 100
1 1 4 0027.6 409364 5924 Accepted 100
2 1 4 0081.9 409364 5868 Accepted 100
3 1 4 0134.5 409364 6228 Accepted 100
4 1 4 0088.6 409364 5764 Accepted 100
5 1 4 0127.0 409364 8220 Accepted 100
6 1 4 0073.3 409364 5036 Accepted 100
7 1 4 0090.4 409364 7372 Accepted 100
8 1 4 0147.2 409364 8356 Accepted 100
9 1 4 0006.6 409364 4868 Accepted 100
10 2 4 0998.0 411476 307972 Accepted 100
11 2 4 0980.3 412348 396260 Accepted 100
12 2 4 1082.9 412136 390820 Accepted 100
13 2 4 0706.3 410860 220724 Accepted 100
14 2 4 0502.2 410552 184228 Accepted 100
15 2 4 0742.5 410932 245324 Accepted 100
16 2 4 1127.5 411740 346216 Accepted 100
17 2 4 0642.8 411092 242456 Accepted 100
18 2 4 0707.0 412348 291844 Accepted 100
19 2 4 0864.1 412348 324200 Accepted 100
20 3 4 0799.8 413468 280832 Accepted 100
21 3 4 0714.3 412204 203900 Accepted 100
22 3 4 1140.0 415512 412664 Accepted 100
23 3 4 0989.0 414836 369184 Accepted 100
24 3 4 1190.6 414596 357468 Accepted 100
25 3 4 0634.6 411768 172112 Accepted 100
26 3 4 0894.1 413828 304696 Accepted 100
27 3 4 0826.0 413812 303488 Accepted 100
28 3 4 1058.7 415360 410132 Accepted 100
29 3 4 0893.0 413864 308912 Accepted 100
30 4 0649.1 410952 227328 Accepted 100
31 4 0954.3 412292 399908 Accepted 100
32 4 1030.9 412348 372728 Accepted 100
33 4 0701.9 410816 218520 Accepted 100
34 4 0810.5 411744 325560 Accepted 100
35 4 0701.1 410932 253860 Accepted 100
36 4 1116.0 412004 380016 Accepted 100
37 4 0931.8 412348 396156 Accepted 100
38 4 0967.4 411844 337552 Accepted 100
39 4 0899.8 411256 261332 Accepted 100
40 4 0752.7 412348 291792 Accepted 100
41 4 0782.3 412348 321268 Accepted 100
42 4 0606.4 410996 228528 Accepted 100
43 4 0699.3 411144 258140 Accepted 100
44 4 0621.5 410932 261892 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.06 KB
Back to Top