Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

50140
389016
Time Limit Exceeded
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 0 / 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 0006.3 385704 4852 Wrong Answer 0
1 1 4 0021.6 385704 5872 Wrong Answer 0
2 1 4 0062.0 385704 5768 Wrong Answer 0
3 1 4 0095.4 385704 6144 Wrong Answer 0
4 1 4 0062.8 385704 5708 Wrong Answer 0
5 1 4 0099.4 385704 7944 Wrong Answer 0
6 1 4 0049.3 385704 4992 Accepted 100
7 1 4 0068.5 385704 7160 Wrong Answer 0
8 1 4 0111.4 385704 8084 Wrong Answer 0
9 1 4 0005.7 385704 4832 Wrong Answer 0
10 2 4 1909.0 387684 290220 Wrong Answer 0
11 2 4 1679.8 388304 373184 Wrong Answer 0
12 2 4 2090.0 388212 368080 Time Limit Exceeded 0
13 2 4 1088.4 387012 208044 Wrong Answer 0
14 2 4 0902.8 386892 173516 Wrong Answer 0
15 2 4 1114.0 387144 230992 Wrong Answer 0
16 2 4 2018.1 387948 326044 Time Limit Exceeded 0
17 2 4 0954.6 387300 228492 Wrong Answer 0
18 2 4 1248.5 388304 274780 Accepted 100
19 2 4 1408.6 388304 305452 Wrong Answer 0
20 3 4 1287.7 389804 264788 Wrong Answer 0
21 3 4 1119.0 388540 192476 Wrong Answer 0
22 3 4 1904.4 391860 389016 Wrong Answer 0
23 3 4 1695.3 391176 348220 Wrong Answer 0
24 3 4 1783.4 390936 337124 Wrong Answer 0
25 3 4 0959.8 388100 162364 Wrong Answer 0
26 3 4 1352.5 390160 287324 Wrong Answer 0
27 3 4 1242.5 390156 286060 Wrong Answer 0
28 3 4 1760.0 391700 386524 Wrong Answer 0
29 3 4 1455.5 390204 291228 Wrong Answer 0
30 4 1102.3 387164 214200 Wrong Answer 0
31 4 1534.5 388276 376548 Wrong Answer 0
32 4 1617.0 388304 351012 Wrong Answer 0
33 4 1173.9 387024 205920 Wrong Answer 0
34 4 1387.4 387816 306680 Wrong Answer 0
35 4 1167.9 387144 239168 Wrong Answer 0
36 4 2030.0 388080 357984 Time Limit Exceeded 0
37 4 1659.9 388304 372936 Accepted 100
38 4 1738.9 387916 318004 Wrong Answer 0
39 4 1545.3 387464 246180 Wrong Answer 0
40 4 1281.4 388304 275132 Wrong Answer 0
41 4 1327.2 388304 302876 Accepted 100
42 4 1023.5 387192 215336 Wrong Answer 0
43 4 1113.1 387324 243116 Wrong Answer 0
44 4 0880.7 387144 246428 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top