Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

37311
391988
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 0518.6 385784 380036 Accepted 100
1 1 4 0546.8 385784 380036 Accepted 100
2 1 4 0583.9 385784 380072 Accepted 100
3 1 4 0642.8 385784 380096 Accepted 100
4 1 4 0594.4 385784 379972 Accepted 100
5 1 4 0638.8 385784 380104 Accepted 100
6 1 4 0591.7 385784 380028 Accepted 100
7 1 4 0602.2 385784 380104 Accepted 100
8 1 4 0658.9 385784 380048 Accepted 100
9 1 4 0527.4 385784 380028 Accepted 100
10 2 4 1116.6 387968 385012 Accepted 100
11 2 4 0705.4 388804 385420 Accepted 100
12 2 4 1081.5 388584 386252 Accepted 100
13 2 4 0783.0 387316 382744 Accepted 100
14 2 4 0726.1 387104 382928 Accepted 100
15 2 4 0772.9 387388 383168 Accepted 100
16 2 4 1184.7 388160 385460 Accepted 100
17 2 4 0694.2 387516 383884 Accepted 100
18 2 4 0663.8 388804 383856 Accepted 100
19 2 4 0752.6 388804 384172 Accepted 100
20 3 4 1066.4 391472 388188 Accepted 100
21 3 4 1096.2 389900 385800 Accepted 100
22 3 4 1203.9 394280 391988 Accepted 100
23 3 4 1002.9 393352 390712 Accepted 100
24 3 4 1416.5 393044 390348 Accepted 100
25 3 4 0927.3 389144 385012 Accepted 100
26 3 4 1137.8 391964 388960 Accepted 100
27 3 4 0978.9 391952 388916 Accepted 100
28 3 4 1045.0 394244 391832 Accepted 100
29 3 4 1132.5 392032 389040 Accepted 100
30 4 0883.1 387452 383756 Accepted 100
31 4 0663.4 388752 386168 Accepted 100
32 4 0787.5 388804 384988 Accepted 100
33 4 0875.4 387368 383304 Accepted 100
34 4 0694.2 388160 385196 Accepted 100
35 4 0725.9 387388 383260 Accepted 100
36 4 1081.9 388424 385920 Accepted 100
37 4 0675.6 388804 385248 Accepted 100
38 4 1056.2 388400 385740 Accepted 100
39 4 1096.3 387776 384216 Accepted 100
40 4 0689.1 388804 383776 Accepted 100
41 4 0672.4 388804 384296 Accepted 100
42 4 0683.6 387392 383568 Accepted 100
43 4 0719.7 387604 383860 Accepted 100
44 4 0613.7 387388 383392 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.27 KB
Back to Top