Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30688
412604
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.2 409364 4792 Accepted 100
1 1 4 0027.5 409364 5980 Accepted 100
2 1 4 0080.9 409364 5796 Accepted 100
3 1 4 0133.9 409364 6228 Accepted 100
4 1 4 0087.2 409364 5760 Accepted 100
5 1 4 0126.4 409364 8220 Accepted 100
6 1 4 0071.9 409364 5120 Accepted 100
7 1 4 0089.4 409364 7364 Accepted 100
8 1 4 0167.0 409364 8144 Accepted 100
9 1 4 0006.3 409364 4824 Accepted 100
10 2 4 1120.9 411476 308144 Accepted 100
11 2 4 1014.4 412348 396364 Accepted 100
12 2 4 1106.0 412136 390860 Accepted 100
13 2 4 0758.2 410860 220800 Accepted 100
14 2 4 0510.2 410552 184228 Accepted 100
15 2 4 0727.5 410932 245264 Accepted 100
16 2 4 1141.2 411740 346220 Accepted 100
17 2 4 0632.2 411092 242464 Accepted 100
18 2 4 0714.2 412348 291740 Accepted 100
19 2 4 0862.9 412348 324256 Accepted 100
20 3 4 0805.7 413464 280772 Accepted 100
21 3 4 0714.6 412200 204024 Accepted 100
22 3 4 1109.8 415516 412604 Accepted 100
23 3 4 0939.1 414836 369180 Accepted 100
24 3 4 1196.2 414592 357440 Accepted 100
25 3 4 0604.8 411764 172108 Accepted 100
26 3 4 0886.6 413828 304768 Accepted 100
27 3 4 0836.1 413816 303404 Accepted 100
28 3 4 1047.3 415364 409992 Accepted 100
29 3 4 0921.8 413864 308972 Accepted 100
30 4 0640.1 410952 227376 Accepted 100
31 4 0962.6 412292 399792 Accepted 100
32 4 1014.7 412348 372880 Accepted 100
33 4 0709.0 410816 218580 Accepted 100
34 4 0802.3 411744 325620 Accepted 100
35 4 0709.2 410932 253988 Accepted 100
36 4 1129.6 412004 380012 Accepted 100
37 4 0941.2 412348 396132 Accepted 100
38 4 0974.5 411848 337556 Accepted 100
39 4 0898.1 411252 261288 Accepted 100
40 4 0744.8 412348 291828 Accepted 100
41 4 0789.0 412348 321300 Accepted 100
42 4 0602.9 410996 228536 Accepted 100
43 4 0703.9 411144 258064 Accepted 100
44 4 0621.7 410932 261948 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.07 KB
Back to Top