Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

41443
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 0014.7 385740 12536 Accepted 100
1 1 4 0033.5 385740 13620 Accepted 100
2 1 4 0074.7 385740 13516 Accepted 100
3 1 4 0114.7 385740 13872 Accepted 100
4 1 4 0078.9 385740 13400 Accepted 100
5 1 4 0115.0 385740 15772 Accepted 100
6 1 4 0068.8 385740 12684 Accepted 100
7 1 4 0079.1 385740 15000 Accepted 100
8 1 4 0132.4 385740 15844 Accepted 100
9 1 4 0016.6 385740 12548 Accepted 100
10 2 4 2150.3 387852 297844 Time Limit Exceeded 0
11 2 4 1214.6 388724 380932 Accepted 100
12 2 4 2107.0 388512 217760 Time Limit Exceeded 0
13 2 4 0800.0 387236 216012 Accepted 100
14 2 4 1075.9 386928 181288 Accepted 100
15 2 4 0876.8 387308 238900 Accepted 100
16 2 4 2117.1 388116 333720 Time Limit Exceeded 0
17 2 4 0837.6 387468 236284 Accepted 100
18 2 4 0844.0 388724 282580 Accepted 100
19 2 4 1009.0 388724 313344 Accepted 100
20 3 4 0877.5 389312 271808 Accepted 100
21 3 4 0786.7 388200 199848 Accepted 100
22 3 4 1219.1 391116 388568 Accepted 100
23 3 4 1055.3 390516 355072 Accepted 100
24 3 4 1335.2 390296 344040 Accepted 100
25 3 4 0667.9 387820 169780 Accepted 100
26 3 4 0977.5 389624 294492 Accepted 100
27 3 4 0883.0 389612 293296 Accepted 100
28 3 4 1109.6 390960 388528 Accepted 100
29 3 4 0969.0 389656 298392 Accepted 100
30 4 1229.2 387324 222064 Accepted 100
31 4 1253.3 388668 384524 Accepted 100
32 4 1188.6 388724 358820 Accepted 100
33 4 1143.7 387192 213812 Accepted 100
34 4 1079.4 388120 314484 Accepted 100
35 4 0809.6 387308 247096 Accepted 100
36 4 2087.4 388380 365760 Time Limit Exceeded 0
37 4 1132.8 388724 380900 Accepted 100
38 4 2008.5 388172 325760 Time Limit Exceeded 0
39 4 1702.5 387596 254044 Accepted 100
40 4 0883.9 388724 282844 Accepted 100
41 4 0938.1 388724 310536 Accepted 100
42 4 0743.7 387372 223224 Accepted 100
43 4 0862.8 387520 251008 Accepted 100
44 4 0738.7 387308 254556 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.59 KB
Back to Top