Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

44473
388592
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 0014.7 385740 12572 Accepted 100
1 1 4 0032.8 385740 13624 Accepted 100
2 1 4 0075.1 385740 13576 Accepted 100
3 1 4 0109.3 385740 13880 Accepted 100
4 1 4 0080.1 385740 13540 Accepted 100
5 1 4 0113.8 385740 15692 Accepted 100
6 1 4 0063.9 385740 12780 Accepted 100
7 1 4 0078.1 385740 15068 Accepted 100
8 1 4 0129.8 385740 15692 Accepted 100
9 1 4 0016.0 385740 12532 Accepted 100
10 2 4 2016.5 387852 298088 Time Limit Exceeded 0
11 2 4 1402.6 388724 380932 Accepted 100
12 2 4 2107.2 388512 264092 Time Limit Exceeded 0
13 2 4 0886.7 387236 215968 Accepted 100
14 2 4 0983.4 386928 181460 Accepted 100
15 2 4 0968.5 387308 238916 Accepted 100
16 2 4 2116.4 388116 333692 Time Limit Exceeded 0
17 2 4 0927.0 387468 236340 Accepted 100
18 2 4 1021.5 388724 282460 Accepted 100
19 2 4 1203.4 388724 313496 Accepted 100
20 3 4 1003.2 389312 272000 Accepted 100
21 3 4 0885.0 388192 199808 Accepted 100
22 3 4 1392.1 391116 388568 Accepted 100
23 3 4 1215.2 390516 355144 Accepted 100
24 3 4 1437.8 390296 344072 Accepted 100
25 3 4 0724.2 387820 169716 Accepted 100
26 3 4 1112.9 389624 294492 Accepted 100
27 3 4 1041.8 389620 293304 Accepted 100
28 3 4 1317.1 390960 388592 Accepted 100
29 3 4 1114.8 389656 298348 Accepted 100
30 4 1159.7 387324 222104 Accepted 100
31 4 1424.2 388668 384536 Accepted 100
32 4 1388.6 388724 358824 Accepted 100
33 4 1116.2 387192 213796 Accepted 100
34 4 1211.7 388120 314488 Accepted 100
35 4 0941.5 387308 247104 Accepted 100
36 4 1985.5 388380 365820 Accepted 100
37 4 1361.7 388724 381060 Accepted 100
38 4 1892.2 388176 325844 Accepted 100
39 4 1549.2 387600 254084 Accepted 100
40 4 1032.2 388724 282780 Accepted 100
41 4 1109.5 388724 310512 Accepted 100
42 4 0836.6 387372 223052 Accepted 100
43 4 0988.4 387520 251044 Accepted 100
44 4 0885.0 387308 254552 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.26 KB
Back to Top