Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

43359
388488
Time Limit Exceeded
53

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$。 0 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0014.5 385740 12504 Accepted 100
1 1 4 0034.1 385740 13548 Accepted 100
2 1 4 0076.8 385740 13476 Accepted 100
3 1 4 0114.5 385740 13944 Accepted 100
4 1 4 0077.4 385740 13436 Accepted 100
5 1 4 0111.7 385740 15700 Accepted 100
6 1 4 0064.5 385740 12784 Accepted 100
7 1 4 0079.4 385740 14924 Accepted 100
8 1 4 0130.5 385740 15736 Accepted 100
9 1 4 0016.2 385740 12552 Accepted 100
10 2 4 1987.6 387852 298088 Accepted 100
11 2 4 1378.5 388724 381008 Accepted 100
12 2 4 2114.7 388512 277836 Time Limit Exceeded 0
13 2 4 0865.7 387236 215956 Accepted 100
14 2 4 0941.4 386928 181400 Accepted 100
15 2 4 0941.3 387308 239016 Accepted 100
16 2 4 2143.7 388116 333732 Time Limit Exceeded 0
17 2 4 0891.9 387468 236400 Accepted 100
18 2 4 0991.1 388724 282484 Accepted 100
19 2 4 1188.4 388724 313424 Accepted 100
20 3 4 1008.8 389308 271976 Accepted 100
21 3 4 0866.2 388196 199948 Accepted 100
22 3 4 1354.2 391112 388392 Accepted 100
23 3 4 1202.4 390516 355076 Accepted 100
24 3 4 1392.2 390292 344140 Accepted 100
25 3 4 0701.7 387820 169760 Accepted 100
26 3 4 1086.5 389624 294412 Accepted 100
27 3 4 1019.1 389616 293320 Accepted 100
28 3 4 1284.6 390964 388488 Accepted 100
29 3 4 1087.0 389660 298416 Accepted 100
30 4 1109.4 387324 222060 Accepted 100
31 4 1408.1 388668 384536 Accepted 100
32 4 1373.8 388724 358908 Accepted 100
33 4 1075.3 387192 213628 Accepted 100
34 4 1167.7 388120 314508 Accepted 100
35 4 0911.8 387308 247028 Accepted 100
36 4 1894.3 388380 365800 Accepted 100
37 4 1321.4 388724 381068 Accepted 100
38 4 1763.9 388172 325840 Accepted 100
39 4 1458.5 387600 254048 Accepted 100
40 4 1003.4 388724 282724 Accepted 100
41 4 1084.4 388724 310616 Accepted 100
42 4 0805.8 387372 223052 Accepted 100
43 4 0965.2 387520 250940 Accepted 100
44 4 0849.4 387308 254620 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.33 KB
Back to Top