Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

73523
388240
Time Limit Exceeded
16

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$。 0 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0005.5 385740 5444 Accepted 100
1 1 4 0024.8 385740 6404 Accepted 100
2 1 4 0071.0 385740 6260 Accepted 100
3 1 4 0107.7 385740 6676 Accepted 100
4 1 4 0074.6 385740 6220 Accepted 100
5 1 4 0124.7 385740 8536 Accepted 100
6 1 4 0059.4 385740 5552 Accepted 100
7 1 4 0077.6 385740 7752 Accepted 100
8 1 4 0133.9 385740 8560 Accepted 100
9 1 4 0007.6 385740 5264 Accepted 100
10 2 4 2109.4 387852 290512 Time Limit Exceeded 0
11 2 4 2152.4 388724 373992 Time Limit Exceeded 0
12 2 4 2158.4 388512 368548 Time Limit Exceeded 0
13 2 4 1723.4 387236 208536 Accepted 100
14 2 4 1951.5 386928 174164 Accepted 100
15 2 4 1897.8 387308 231524 Accepted 100
16 2 4 2126.0 388116 326432 Time Limit Exceeded 0
17 2 4 1852.2 387468 229124 Accepted 100
18 2 4 2136.7 388724 275608 Time Limit Exceeded 0
19 2 4 2113.5 388724 306252 Time Limit Exceeded 0
20 3 4 2138.4 389308 264508 Time Limit Exceeded 0
21 3 4 2122.1 388192 192400 Time Limit Exceeded 0
22 3 4 2144.1 391108 388240 Time Limit Exceeded 0
23 3 4 2149.0 390516 347528 Time Limit Exceeded 0
24 3 4 2146.6 390292 336572 Time Limit Exceeded 0
25 3 4 2117.0 387820 162596 Time Limit Exceeded 0
26 3 4 2111.4 389628 287116 Time Limit Exceeded 0
27 3 4 2136.2 389620 285816 Time Limit Exceeded 0
28 3 4 2155.9 390960 385952 Time Limit Exceeded 0
29 3 4 2150.5 389656 291008 Time Limit Exceeded 0
30 4 2110.4 387324 214444 Time Limit Exceeded 0
31 4 2116.7 388668 376984 Time Limit Exceeded 0
32 4 2155.0 388724 351888 Time Limit Exceeded 0
33 4 2111.8 387192 206328 Time Limit Exceeded 0
34 4 2163.1 388120 307000 Time Limit Exceeded 0
35 4 2020.4 387308 240056 Time Limit Exceeded 0
36 4 2140.9 388380 358356 Time Limit Exceeded 0
37 4 2143.2 388724 373712 Time Limit Exceeded 0
38 4 2155.2 388172 318236 Time Limit Exceeded 0
39 4 2092.2 387600 246512 Time Limit Exceeded 0
40 4 2124.0 388724 275828 Time Limit Exceeded 0
41 4 2136.1 388724 303480 Time Limit Exceeded 0
42 4 1836.6 387372 216000 Accepted 100
43 4 2081.4 387520 243824 Time Limit Exceeded 0
44 4 1856.6 387308 247416 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.33 KB
Back to Top