Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

43400
388572
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 (RSS, KiB) Verdict Score
0 1 4 0000.0 3488 Accepted 100
1 1 4 0016.0 3640 Accepted 100
2 1 4 0064.0 3488 Accepted 100
3 1 4 0096.0 3784 Accepted 100
4 1 4 0064.0 3536 Accepted 100
5 1 4 0104.0 4788 Accepted 100
6 1 4 0048.0 3516 Accepted 100
7 1 4 0064.0 4352 Accepted 100
8 1 4 0120.0 4884 Accepted 100
9 1 4 0004.0 3548 Accepted 100
10 2 4 1908.0 289680 Accepted 100
11 2 4 1364.0 373332 Accepted 100
12 2 4 2424.0 367984 Time Limit Exceeded 0
13 2 4 0872.0 194908 Accepted 100
14 2 4 0868.0 161948 Accepted 100
15 2 4 0792.0 216400 Accepted 100
16 2 4 2300.0 325672 Time Limit Exceeded 0
17 2 4 0744.0 213936 Accepted 100
18 2 4 0952.0 274892 Accepted 100
19 2 4 1144.0 305448 Accepted 100
20 3 4 1324.0 264052 Accepted 100
21 3 4 0792.0 179988 Accepted 100
22 3 4 1504.0 388572 Accepted 100
23 3 4 1284.0 347524 Accepted 100
24 3 4 1436.0 336500 Accepted 100
25 3 4 0700.0 151404 Accepted 100
26 3 4 1096.0 286740 Accepted 100
27 3 4 1096.0 285396 Accepted 100
28 3 4 1384.0 386232 Accepted 100
29 3 4 1152.0 290464 Accepted 100
30 4 1060.0 200244 Accepted 100
31 4 1392.0 376144 Accepted 100
32 4 1352.0 351032 Accepted 100
33 4 1020.0 192656 Accepted 100
34 4 1168.0 306124 Accepted 100
35 4 0908.0 224200 Accepted 100
36 4 1856.0 357512 Accepted 100
37 4 1304.0 373140 Accepted 100
38 4 1736.0 317432 Accepted 100
39 4 1380.0 230312 Accepted 100
40 4 1004.0 275092 Accepted 100
41 4 1088.0 302752 Accepted 100
42 4 0696.0 201280 Accepted 100
43 4 0892.0 227388 Accepted 100
44 4 0828.0 231308 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.36 KB
Back to Top