Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40196
388588
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.3 385740 12580 Accepted 100
1 1 4 0032.8 385740 13756 Accepted 100
2 1 4 0074.1 385740 13580 Accepted 100
3 1 4 0107.2 385740 13876 Accepted 100
4 1 4 0078.2 385740 13476 Accepted 100
5 1 4 0109.5 385740 15788 Accepted 100
6 1 4 0063.7 385740 12764 Accepted 100
7 1 4 0078.7 385740 14940 Accepted 100
8 1 4 0123.5 385740 15776 Accepted 100
9 1 4 0016.5 385740 12660 Accepted 100
10 2 4 2126.6 387852 297856 Time Limit Exceeded 0
11 2 4 1164.9 388724 381124 Accepted 100
12 2 4 2102.4 388512 228628 Time Limit Exceeded 0
13 2 4 0750.6 387236 215944 Accepted 100
14 2 4 1018.8 386928 181464 Accepted 100
15 2 4 0811.1 387308 238904 Accepted 100
16 2 4 2137.4 388116 333796 Time Limit Exceeded 0
17 2 4 0810.5 387468 236408 Accepted 100
18 2 4 0832.4 388724 282504 Accepted 100
19 2 4 1009.7 388724 313424 Accepted 100
20 3 4 0845.5 389312 272044 Accepted 100
21 3 4 0773.7 388196 199948 Accepted 100
22 3 4 1163.3 391112 388552 Accepted 100
23 3 4 1033.0 390512 355152 Accepted 100
24 3 4 1230.4 390296 344136 Accepted 100
25 3 4 0627.4 387816 169816 Accepted 100
26 3 4 0942.4 389628 294516 Accepted 100
27 3 4 0869.2 389620 293292 Accepted 100
28 3 4 1107.2 390964 388588 Accepted 100
29 3 4 0956.2 389656 298392 Accepted 100
30 4 1156.7 387324 222000 Accepted 100
31 4 1248.6 388668 384460 Accepted 100
32 4 1176.0 388724 358904 Accepted 100
33 4 1091.0 387192 213800 Accepted 100
34 4 1062.1 388120 314612 Accepted 100
35 4 0788.0 387308 247184 Accepted 100
36 4 1981.2 388380 365800 Accepted 100
37 4 1132.1 388724 381116 Accepted 100
38 4 1903.3 388176 325864 Accepted 100
39 4 1550.1 387600 254016 Accepted 100
40 4 0862.1 388724 282728 Accepted 100
41 4 0918.6 388724 310592 Accepted 100
42 4 0738.7 387372 223220 Accepted 100
43 4 0849.2 387520 251036 Accepted 100
44 4 0726.6 387308 254584 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.33 KB
Back to Top