Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40856
388692
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 385744 12548 Accepted 100
1 1 4 0032.4 385744 13624 Accepted 100
2 1 4 0070.6 385744 13648 Accepted 100
3 1 4 0104.5 385744 13884 Accepted 100
4 1 4 0074.2 385744 13440 Accepted 100
5 1 4 0109.0 385744 15764 Accepted 100
6 1 4 0061.5 385744 12720 Accepted 100
7 1 4 0076.1 385744 15008 Accepted 100
8 1 4 0121.1 385744 15784 Accepted 100
9 1 4 0015.8 385744 12600 Accepted 100
10 2 4 2114.1 387856 297944 Time Limit Exceeded 0
11 2 4 1199.0 388728 380936 Accepted 100
12 2 4 2146.0 388516 231996 Time Limit Exceeded 0
13 2 4 0766.9 387240 215936 Accepted 100
14 2 4 1065.3 386932 181484 Accepted 100
15 2 4 0823.9 387312 239016 Accepted 100
16 2 4 2123.1 388120 329572 Time Limit Exceeded 0
17 2 4 0835.6 387472 236360 Accepted 100
18 2 4 0862.7 388728 282612 Accepted 100
19 2 4 1011.4 388728 313492 Accepted 100
20 3 4 0856.9 389316 272032 Accepted 100
21 3 4 0783.9 388200 199656 Accepted 100
22 3 4 1201.8 391116 388692 Accepted 100
23 3 4 1045.1 390524 354992 Accepted 100
24 3 4 1248.0 390300 344144 Accepted 100
25 3 4 0630.7 387820 169760 Accepted 100
26 3 4 0947.3 389632 294520 Accepted 100
27 3 4 0877.9 389620 293304 Accepted 100
28 3 4 1125.5 390964 388556 Accepted 100
29 3 4 0988.2 389660 298416 Accepted 100
30 4 1155.4 387328 222000 Accepted 100
31 4 1253.2 388672 384524 Accepted 100
32 4 1187.6 388728 358876 Accepted 100
33 4 1109.6 387196 213756 Accepted 100
34 4 1091.4 388124 314552 Accepted 100
35 4 0797.4 387312 247028 Accepted 100
36 4 2047.4 388384 365872 Time Limit Exceeded 0
37 4 1143.3 388728 381008 Accepted 100
38 4 1931.4 388180 325868 Accepted 100
39 4 1576.8 387604 254092 Accepted 100
40 4 0884.2 388728 282804 Accepted 100
41 4 0951.4 388728 310588 Accepted 100
42 4 0755.5 387376 223252 Accepted 100
43 4 0894.6 387524 251148 Accepted 100
44 4 0743.6 387312 254520 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.31 KB
Back to Top