Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

41100
388632
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 12576 Accepted 100
1 1 4 0033.9 385740 13628 Accepted 100
2 1 4 0075.4 385740 13436 Accepted 100
3 1 4 0108.5 385740 13816 Accepted 100
4 1 4 0079.5 385740 13372 Accepted 100
5 1 4 0114.9 385740 15704 Accepted 100
6 1 4 0063.7 385740 12820 Accepted 100
7 1 4 0078.2 385740 14940 Accepted 100
8 1 4 0129.3 385740 15776 Accepted 100
9 1 4 0016.6 385740 12520 Accepted 100
10 2 4 2125.9 387852 297796 Time Limit Exceeded 0
11 2 4 1185.8 388724 381000 Accepted 100
12 2 4 2093.6 388512 219956 Time Limit Exceeded 0
13 2 4 0772.3 387236 216080 Accepted 100
14 2 4 1078.4 386928 181420 Accepted 100
15 2 4 0825.9 387308 238900 Accepted 100
16 2 4 2164.3 388116 333804 Time Limit Exceeded 0
17 2 4 0846.2 387468 236356 Accepted 100
18 2 4 0851.0 388724 282504 Accepted 100
19 2 4 1036.3 388724 313320 Accepted 100
20 3 4 0865.1 389312 272036 Accepted 100
21 3 4 0787.3 388196 199844 Accepted 100
22 3 4 1189.9 391116 388632 Accepted 100
23 3 4 1056.7 390520 355180 Accepted 100
24 3 4 1320.7 390292 344068 Accepted 100
25 3 4 0675.0 387820 169760 Accepted 100
26 3 4 0959.2 389624 294404 Accepted 100
27 3 4 0880.0 389616 293300 Accepted 100
28 3 4 1128.2 390964 388532 Accepted 100
29 3 4 0978.6 389660 298452 Accepted 100
30 4 1207.2 387324 222040 Accepted 100
31 4 1259.7 388668 384472 Accepted 100
32 4 1191.9 388724 358876 Accepted 100
33 4 1122.6 387192 213800 Accepted 100
34 4 1082.8 388120 314304 Accepted 100
35 4 0800.6 387308 247032 Accepted 100
36 4 2056.2 388380 365800 Time Limit Exceeded 0
37 4 1141.5 388724 380988 Accepted 100
38 4 1923.5 388176 325900 Accepted 100
39 4 1571.6 387596 254024 Accepted 100
40 4 0886.2 388724 282716 Accepted 100
41 4 0940.3 388724 310436 Accepted 100
42 4 0747.0 387372 223148 Accepted 100
43 4 0875.8 387520 251024 Accepted 100
44 4 0758.0 387308 254504 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.27 KB
Back to Top