Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32182
388632
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 0015.3 388872 12508 Accepted 100
1 1 4 0041.7 388872 13684 Accepted 100
2 1 4 0077.8 388872 13536 Accepted 100
3 1 4 0113.5 388872 13840 Accepted 100
4 1 4 0082.5 388872 13416 Accepted 100
5 1 4 0117.7 388872 15700 Accepted 100
6 1 4 0068.7 388872 12776 Accepted 100
7 1 4 0085.0 388872 14932 Accepted 100
8 1 4 0140.2 388872 15684 Accepted 100
9 1 4 0016.4 388872 12560 Accepted 100
10 2 4 0144.8 390984 12028 Accepted 100
11 2 4 0089.6 391856 13340 Accepted 100
12 2 4 0104.9 391644 13848 Accepted 100
13 2 4 0128.0 390368 9160 Accepted 100
14 2 4 0052.8 390060 9028 Accepted 100
15 2 4 0124.2 390440 9692 Accepted 100
16 2 4 0190.0 391248 12748 Accepted 100
17 2 4 0065.4 390600 10456 Accepted 100
18 2 4 0049.4 391856 10816 Accepted 100
19 2 4 0103.2 391856 11724 Accepted 100
20 3 4 0984.2 392440 271992 Accepted 100
21 3 4 0877.0 391328 199856 Accepted 100
22 3 4 1395.2 394244 388632 Accepted 100
23 3 4 1202.0 393648 355152 Accepted 100
24 3 4 1446.9 393424 344072 Accepted 100
25 3 4 0726.4 390948 169812 Accepted 100
26 3 4 1114.1 392764 294328 Accepted 100
27 3 4 1039.9 392748 293288 Accepted 100
28 3 4 1334.4 394092 388596 Accepted 100
29 3 4 1162.7 392792 298448 Accepted 100
30 4 1212.7 390456 222072 Accepted 100
31 4 1444.8 391800 384436 Accepted 100
32 4 1423.6 391856 358764 Accepted 100
33 4 1166.7 390324 213800 Accepted 100
34 4 1198.8 391252 314452 Accepted 100
35 4 0930.8 390440 247092 Accepted 100
36 4 1994.8 391512 365852 Accepted 100
37 4 1366.6 391856 381080 Accepted 100
38 4 1898.2 391304 325792 Accepted 100
39 4 1559.6 390728 254044 Accepted 100
40 4 1027.8 391856 282724 Accepted 100
41 4 1108.0 391856 310436 Accepted 100
42 4 0852.1 390504 223284 Accepted 100
43 4 0999.3 390652 251076 Accepted 100
44 4 0904.2 390440 254480 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.59 KB
Back to Top