Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32007
413988
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.4 416952 4856 Accepted 100
1 1 4 0020.2 416952 5912 Accepted 100
2 1 4 0057.2 416952 5760 Accepted 100
3 1 4 0090.4 416952 6052 Accepted 100
4 1 4 0061.6 416952 5732 Accepted 100
5 1 4 0097.4 416952 8288 Accepted 100
6 1 4 0050.4 416952 4972 Accepted 100
7 1 4 0065.9 416952 7272 Accepted 100
8 1 4 0110.1 416952 8256 Accepted 100
9 1 4 0005.8 416952 4808 Accepted 100
10 2 4 1060.6 418932 308960 Accepted 100
11 2 4 1042.7 419552 397208 Accepted 100
12 2 4 1177.8 419460 391912 Accepted 100
13 2 4 0717.7 418260 221416 Accepted 100
14 2 4 0537.5 418140 184668 Accepted 100
15 2 4 0766.5 418392 246132 Accepted 100
16 2 4 1213.2 419196 347156 Accepted 100
17 2 4 0660.8 418548 243164 Accepted 100
18 2 4 0758.0 419552 292460 Accepted 100
19 2 4 0901.6 419552 325180 Accepted 100
20 3 4 0850.9 421048 281744 Accepted 100
21 3 4 0729.9 419792 204700 Accepted 100
22 3 4 1173.3 423104 413988 Accepted 100
23 3 4 1000.1 422428 370376 Accepted 100
24 3 4 1207.9 422184 358592 Accepted 100
25 3 4 0620.1 419356 172612 Accepted 100
26 3 4 0939.1 421412 305832 Accepted 100
27 3 4 0866.2 421400 304348 Accepted 100
28 3 4 1127.2 422948 411420 Accepted 100
29 3 4 0930.3 421456 309892 Accepted 100
30 4 0708.5 418408 228004 Accepted 100
31 4 1022.0 419524 400708 Accepted 100
32 4 1084.1 419552 373832 Accepted 100
33 4 0755.6 418272 219140 Accepted 100
34 4 0873.3 419064 326376 Accepted 100
35 4 0721.3 418392 254776 Accepted 100
36 4 1240.8 419328 380980 Accepted 100
37 4 1061.5 419552 397312 Accepted 100
38 4 1057.5 419168 338556 Accepted 100
39 4 0963.5 418716 261968 Accepted 100
40 4 0789.8 419552 292680 Accepted 100
41 4 0831.6 419552 322392 Accepted 100
42 4 0642.0 418440 229224 Accepted 100
43 4 0741.9 418572 258852 Accepted 100
44 4 0669.1 418392 262608 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.88 KB
Back to Top