Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40200
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.9 385740 12436 Accepted 100
1 1 4 0034.0 385740 13756 Accepted 100
2 1 4 0080.3 385740 13472 Accepted 100
3 1 4 0113.5 385740 13644 Accepted 100
4 1 4 0079.5 385740 13472 Accepted 100
5 1 4 0113.0 385740 15728 Accepted 100
6 1 4 0065.6 385740 12752 Accepted 100
7 1 4 0079.0 385740 14896 Accepted 100
8 1 4 0125.9 385740 15780 Accepted 100
9 1 4 0016.5 385740 12456 Accepted 100
10 2 4 2106.9 387852 297796 Time Limit Exceeded 0
11 2 4 1164.8 388724 381120 Accepted 100
12 2 4 2097.0 388512 227472 Time Limit Exceeded 0
13 2 4 0763.8 387236 215924 Accepted 100
14 2 4 1039.1 386928 181288 Accepted 100
15 2 4 0815.1 387308 238996 Accepted 100
16 2 4 2141.6 388116 333732 Time Limit Exceeded 0
17 2 4 0812.1 387468 236168 Accepted 100
18 2 4 0833.8 388724 282492 Accepted 100
19 2 4 0991.9 388724 313408 Accepted 100
20 3 4 0841.7 389312 271980 Accepted 100
21 3 4 0767.8 388196 199884 Accepted 100
22 3 4 1179.4 391116 388588 Accepted 100
23 3 4 1030.6 390516 355280 Accepted 100
24 3 4 1235.8 390300 344148 Accepted 100
25 3 4 0630.0 387820 169780 Accepted 100
26 3 4 0940.5 389624 294552 Accepted 100
27 3 4 0859.5 389616 293320 Accepted 100
28 3 4 1104.4 390960 388528 Accepted 100
29 3 4 0948.1 389660 298456 Accepted 100
30 4 1150.6 387324 221872 Accepted 100
31 4 1236.6 388668 384456 Accepted 100
32 4 1168.2 388724 358912 Accepted 100
33 4 1083.8 387192 213856 Accepted 100
34 4 1059.5 388120 314556 Accepted 100
35 4 0830.9 387308 247084 Accepted 100
36 4 2001.4 388380 365804 Time Limit Exceeded 0
37 4 1136.3 388724 380920 Accepted 100
38 4 1886.1 388172 325816 Accepted 100
39 4 1518.1 387596 254024 Accepted 100
40 4 0858.3 388724 282764 Accepted 100
41 4 0921.2 388724 310584 Accepted 100
42 4 0747.1 387372 223180 Accepted 100
43 4 0843.0 387520 250976 Accepted 100
44 4 0733.2 387308 254408 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.33 KB
Back to Top