Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32253
414092
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.3 416952 4792 Accepted 100
1 1 4 0020.3 416952 5876 Accepted 100
2 1 4 0057.3 416952 5836 Accepted 100
3 1 4 0089.9 416952 6132 Accepted 100
4 1 4 0060.4 416952 5716 Accepted 100
5 1 4 0094.0 416952 8172 Accepted 100
6 1 4 0047.4 416952 5108 Accepted 100
7 1 4 0063.6 416952 7332 Accepted 100
8 1 4 0106.4 416952 8256 Accepted 100
9 1 4 0005.8 416952 4940 Accepted 100
10 2 4 1076.1 418932 308940 Accepted 100
11 2 4 1044.7 419552 397252 Accepted 100
12 2 4 1209.2 419460 391724 Accepted 100
13 2 4 0718.2 418260 221496 Accepted 100
14 2 4 0544.6 418140 184728 Accepted 100
15 2 4 0759.3 418392 246140 Accepted 100
16 2 4 1216.5 419196 347188 Accepted 100
17 2 4 0674.4 418548 243172 Accepted 100
18 2 4 0772.5 419552 292508 Accepted 100
19 2 4 0904.9 419552 325248 Accepted 100
20 3 4 0877.0 421052 281756 Accepted 100
21 3 4 0760.2 419788 204632 Accepted 100
22 3 4 1206.9 423104 414092 Accepted 100
23 3 4 1030.0 422424 370480 Accepted 100
24 3 4 1230.3 422180 358588 Accepted 100
25 3 4 0648.1 419352 172672 Accepted 100
26 3 4 0940.2 421412 305708 Accepted 100
27 3 4 0880.0 421400 304492 Accepted 100
28 3 4 1138.5 422948 411352 Accepted 100
29 3 4 0949.6 421456 309936 Accepted 100
30 4 0723.0 418412 227940 Accepted 100
31 4 1025.3 419524 400900 Accepted 100
32 4 1082.7 419552 373728 Accepted 100
33 4 0756.4 418272 219248 Accepted 100
34 4 0875.3 419064 326372 Accepted 100
35 4 0719.6 418392 254788 Accepted 100
36 4 1236.4 419328 381028 Accepted 100
37 4 1018.9 419552 397216 Accepted 100
38 4 1067.7 419172 338560 Accepted 100
39 4 0974.6 418708 261992 Accepted 100
40 4 0786.1 419552 292664 Accepted 100
41 4 0833.4 419552 322344 Accepted 100
42 4 0629.9 418440 229180 Accepted 100
43 4 0731.7 418572 258844 Accepted 100
44 4 0661.5 418392 262684 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.88 KB
Back to Top