Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

44281
388568
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.6 385740 12472 Accepted 100
1 1 4 0032.3 385740 13636 Accepted 100
2 1 4 0075.7 385740 13500 Accepted 100
3 1 4 0108.8 385740 13812 Accepted 100
4 1 4 0078.5 385740 13544 Accepted 100
5 1 4 0112.3 385740 15624 Accepted 100
6 1 4 0063.8 385740 12728 Accepted 100
7 1 4 0079.5 385740 14944 Accepted 100
8 1 4 0129.6 385740 15844 Accepted 100
9 1 4 0016.9 385740 12536 Accepted 100
10 2 4 2053.9 387852 298028 Time Limit Exceeded 0
11 2 4 1409.1 388724 381084 Accepted 100
12 2 4 2114.6 388512 261412 Time Limit Exceeded 0
13 2 4 0885.7 387236 215880 Accepted 100
14 2 4 0990.7 386928 181528 Accepted 100
15 2 4 0971.4 387308 238900 Accepted 100
16 2 4 2141.9 388116 333688 Time Limit Exceeded 0
17 2 4 0922.1 387468 236340 Accepted 100
18 2 4 1017.7 388724 282504 Accepted 100
19 2 4 1187.0 388724 313488 Accepted 100
20 3 4 0992.3 389316 271940 Accepted 100
21 3 4 0880.0 388192 199820 Accepted 100
22 3 4 1384.9 391116 388568 Accepted 100
23 3 4 1205.5 390520 355160 Accepted 100
24 3 4 1423.3 390292 344104 Accepted 100
25 3 4 0714.5 387824 169784 Accepted 100
26 3 4 1103.3 389628 294484 Accepted 100
27 3 4 1030.9 389616 293288 Accepted 100
28 3 4 1328.0 390964 388552 Accepted 100
29 3 4 1113.5 389656 298220 Accepted 100
30 4 1137.8 387324 222040 Accepted 100
31 4 1421.5 388668 384532 Accepted 100
32 4 1387.1 388724 358756 Accepted 100
33 4 1109.2 387192 213816 Accepted 100
34 4 1225.6 388120 314412 Accepted 100
35 4 0939.8 387308 247228 Accepted 100
36 4 1969.9 388380 365804 Accepted 100
37 4 1354.0 388724 380920 Accepted 100
38 4 1825.3 388172 325964 Accepted 100
39 4 1518.9 387600 254004 Accepted 100
40 4 1022.5 388724 282876 Accepted 100
41 4 1098.8 388724 310444 Accepted 100
42 4 0837.8 387372 223292 Accepted 100
43 4 0973.9 387520 251084 Accepted 100
44 4 0875.7 387308 254536 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.27 KB
Back to Top