Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

58430
388004
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.4 385740 4852 Accepted 100
1 1 4 0022.4 385740 5892 Accepted 100
2 1 4 0064.4 385740 5808 Accepted 100
3 1 4 0100.5 385740 6216 Accepted 100
4 1 4 0067.1 385740 5700 Accepted 100
5 1 4 0103.7 385740 8084 Accepted 100
6 1 4 0053.8 385740 5084 Accepted 100
7 1 4 0074.8 385740 7256 Accepted 100
8 1 4 0122.0 385740 8088 Accepted 100
9 1 4 0006.1 385740 4864 Accepted 100
10 2 4 2124.6 387852 290268 Time Limit Exceeded 0
11 2 4 2002.6 388724 373372 Time Limit Exceeded 0
12 2 4 2177.0 388512 368028 Time Limit Exceeded 0
13 2 4 1254.7 387236 208356 Accepted 100
14 2 4 1075.5 386928 173816 Accepted 100
15 2 4 1191.3 387308 231328 Accepted 100
16 2 4 2139.0 388116 326052 Time Limit Exceeded 0
17 2 4 1207.1 387468 228692 Accepted 100
18 2 4 1460.8 388724 274940 Accepted 100
19 2 4 1624.0 388724 305564 Accepted 100
20 3 4 1566.3 389308 264244 Accepted 100
21 3 4 1371.5 388196 192224 Accepted 100
22 3 4 2141.4 391112 388004 Time Limit Exceeded 0
23 3 4 2121.7 390512 347308 Time Limit Exceeded 0
24 3 4 2135.2 390296 336288 Time Limit Exceeded 0
25 3 4 1195.9 387824 162116 Accepted 100
26 3 4 1722.7 389628 286860 Accepted 100
27 3 4 1577.0 389616 285752 Accepted 100
28 3 4 2135.0 390960 385696 Time Limit Exceeded 0
29 3 4 1847.7 389656 290744 Accepted 100
30 4 1340.9 387324 214436 Accepted 100
31 4 1730.2 388668 376788 Accepted 100
32 4 1914.6 388724 351100 Accepted 100
33 4 1366.2 387192 206152 Accepted 100
34 4 1576.1 388120 306896 Accepted 100
35 4 1330.7 387308 239484 Accepted 100
36 4 2135.0 388380 357748 Time Limit Exceeded 0
37 4 1938.2 388724 373364 Accepted 100
38 4 2129.4 388172 317968 Time Limit Exceeded 0
39 4 1957.9 387600 246400 Accepted 100
40 4 1450.1 388724 275220 Accepted 100
41 4 1499.8 388724 302860 Accepted 100
42 4 1116.7 387372 215500 Accepted 100
43 4 1259.3 387520 243348 Accepted 100
44 4 0994.7 387308 246840 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.27 KB
Back to Top