Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40256
391164
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 0015.5 387488 14284 Accepted 100
1 1 4 0030.5 387488 15424 Accepted 100
2 1 4 0066.5 387488 15276 Accepted 100
3 1 4 0095.0 387488 15520 Accepted 100
4 1 4 0070.2 387488 15132 Accepted 100
5 1 4 0101.0 387488 17512 Accepted 100
6 1 4 0057.1 387488 14584 Accepted 100
7 1 4 0071.1 387488 16664 Accepted 100
8 1 4 0113.0 387488 17580 Accepted 100
9 1 4 0016.7 387488 14368 Accepted 100
10 2 4 1680.9 389468 299776 Accepted 100
11 2 4 1330.2 390088 382648 Accepted 100
12 2 4 2116.7 389996 377388 Time Limit Exceeded 0
13 2 4 0834.1 388796 217536 Accepted 100
14 2 4 0824.6 388676 182920 Accepted 100
15 2 4 0895.5 388928 240492 Accepted 100
16 2 4 1909.8 389732 335596 Accepted 100
17 2 4 0862.9 389084 237920 Accepted 100
18 2 4 0985.4 390088 284296 Accepted 100
19 2 4 1126.5 390088 314888 Accepted 100
20 3 4 0888.2 391588 274304 Accepted 100
21 3 4 0771.6 390324 202036 Accepted 100
22 3 4 1231.7 393644 391164 Accepted 100
23 3 4 1081.2 392960 357612 Accepted 100
24 3 4 1273.6 392716 346648 Accepted 100
25 3 4 0635.9 389884 171876 Accepted 100
26 3 4 1002.3 391952 296824 Accepted 100
27 3 4 0940.5 391936 295624 Accepted 100
28 3 4 1196.2 393488 391072 Accepted 100
29 3 4 1011.9 391988 300628 Accepted 100
30 4 0980.5 388940 223600 Accepted 100
31 4 1341.3 390060 385876 Accepted 100
32 4 1309.3 390088 360536 Accepted 100
33 4 0963.2 388808 215444 Accepted 100
34 4 1119.3 389600 316084 Accepted 100
35 4 0879.3 388928 248840 Accepted 100
36 4 1698.3 389864 367420 Accepted 100
37 4 1294.8 390088 382444 Accepted 100
38 4 1574.9 389704 327580 Accepted 100
39 4 1285.6 389252 255736 Accepted 100
40 4 0971.2 390088 284416 Accepted 100
41 4 1055.3 390088 312248 Accepted 100
42 4 0788.1 388976 224836 Accepted 100
43 4 0914.4 389108 252628 Accepted 100
44 4 0843.6 388928 256224 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.54 KB
Back to Top