Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21290
411892
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 409352 3912 Accepted 100
1 1 4 0009.7 409352 5204 Accepted 100
2 1 4 0026.6 409352 5100 Accepted 100
3 1 4 0032.1 409352 5404 Accepted 100
4 1 4 0027.6 409352 5116 Accepted 100
5 1 4 0047.5 409352 7436 Accepted 100
6 1 4 0018.2 409352 4308 Accepted 100
7 1 4 0024.6 409352 6572 Accepted 100
8 1 4 0055.5 409352 7512 Accepted 100
9 1 4 0004.4 409352 4008 Accepted 100
10 2 4 0727.7 411464 307508 Accepted 100
11 2 4 0544.4 412368 395584 Accepted 100
12 2 4 0856.9 412124 390140 Accepted 100
13 2 4 0357.4 410880 219960 Accepted 100
14 2 4 0373.7 410672 183500 Accepted 100
15 2 4 0393.0 410952 244672 Accepted 100
16 2 4 0803.0 411728 345400 Accepted 100
17 2 4 0356.4 411080 241948 Accepted 100
18 2 4 0391.6 412368 291100 Accepted 100
19 2 4 0459.6 412368 323572 Accepted 100
20 3 4 0704.1 413452 280096 Accepted 100
21 3 4 0651.3 412324 203312 Accepted 100
22 3 4 1000.8 415504 411892 Accepted 100
23 3 4 0899.9 414828 368452 Accepted 100
24 3 4 0977.3 414580 356868 Accepted 100
25 3 4 0495.4 411748 171292 Accepted 100
26 3 4 0744.3 413808 304120 Accepted 100
27 3 4 0712.5 413804 302700 Accepted 100
28 3 4 0948.6 415480 409556 Accepted 100
29 3 4 0761.3 413848 308112 Accepted 100
30 4 0513.7 410944 226568 Accepted 100
31 4 0558.0 412316 399044 Accepted 100
32 4 0559.5 412368 372056 Accepted 100
33 4 0496.6 410936 217940 Accepted 100
34 4 0474.7 411732 324788 Accepted 100
35 4 0378.1 410952 253248 Accepted 100
36 4 0830.9 411992 379380 Accepted 100
37 4 0519.9 412368 395288 Accepted 100
38 4 0841.8 411836 336792 Accepted 100
39 4 0686.3 411244 260684 Accepted 100
40 4 0463.5 412368 291280 Accepted 100
41 4 0459.2 412368 320608 Accepted 100
42 4 0347.3 411020 227760 Accepted 100
43 4 0400.4 411168 257312 Accepted 100
44 4 0350.9 410952 261164 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.5 KB
Back to Top