Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

52911
389016
Time Limit Exceeded
16

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$。 0 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.2 385704 4816 Accepted 100
1 1 4 0021.5 385704 5868 Accepted 100
2 1 4 0062.1 385704 5752 Accepted 100
3 1 4 0098.8 385704 6100 Accepted 100
4 1 4 0063.4 385704 5652 Accepted 100
5 1 4 0104.1 385704 7972 Accepted 100
6 1 4 0050.2 385704 5008 Accepted 100
7 1 4 0068.8 385704 7164 Accepted 100
8 1 4 0114.5 385704 7804 Accepted 100
9 1 4 0006.0 385704 4808 Accepted 100
10 2 4 1988.6 387684 290244 Accepted 100
11 2 4 1704.8 388304 373276 Accepted 100
12 2 4 2156.6 388212 367844 Time Limit Exceeded 0
13 2 4 1102.5 387012 208008 Accepted 100
14 2 4 0964.9 386892 173596 Accepted 100
15 2 4 1121.4 387144 231060 Accepted 100
16 2 4 2084.1 387948 326100 Time Limit Exceeded 0
17 2 4 1009.2 387300 228352 Accepted 100
18 2 4 1253.4 388304 274720 Accepted 100
19 2 4 1444.2 388304 305280 Accepted 100
20 3 4 1440.3 389808 264792 Accepted 100
21 3 4 1218.3 388544 192540 Accepted 100
22 3 4 2123.5 391860 389016 Time Limit Exceeded 0
23 3 4 1918.0 391180 348120 Accepted 100
24 3 4 1993.2 390932 337096 Accepted 100
25 3 4 1036.3 388100 162320 Accepted 100
26 3 4 1507.4 390164 287464 Accepted 100
27 3 4 1447.2 390152 286192 Accepted 100
28 3 4 1958.5 391700 386668 Accepted 100
29 3 4 1599.8 390208 291244 Accepted 100
30 4 1205.1 387164 214216 Accepted 100
31 4 1540.4 388276 376608 Accepted 100
32 4 1670.8 388304 351124 Accepted 100
33 4 1244.3 387024 205924 Accepted 100
34 4 1391.3 387816 306612 Accepted 100
35 4 1157.5 387144 239156 Accepted 100
36 4 2139.3 388080 357712 Time Limit Exceeded 0
37 4 1645.0 388304 373004 Accepted 100
38 4 1937.2 387920 317952 Accepted 100
39 4 1683.2 387460 246164 Accepted 100
40 4 1291.0 388304 275076 Accepted 100
41 4 1323.9 388304 302724 Accepted 100
42 4 1004.1 387192 215164 Accepted 100
43 4 1121.1 387324 243096 Accepted 100
44 4 0891.6 387144 246584 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top