Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

47148
390912
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 (RSS, KiB) Verdict Score
0 1 4 0008.0 13940 Accepted 100
1 1 4 0028.0 15164 Accepted 100
2 1 4 0076.0 15080 Accepted 100
3 1 4 0108.0 15300 Accepted 100
4 1 4 0084.0 14908 Accepted 100
5 1 4 0124.0 17196 Accepted 100
6 1 4 0060.0 14272 Accepted 100
7 1 4 0076.0 16468 Accepted 100
8 1 4 0144.0 17260 Accepted 100
9 1 4 0012.0 14060 Accepted 100
10 2 4 1932.0 299440 Accepted 100
11 2 4 1636.0 382340 Accepted 100
12 2 4 2392.0 377240 Time Limit Exceeded 0
13 2 4 1020.0 217268 Accepted 100
14 2 4 0972.0 182952 Accepted 100
15 2 4 1116.0 240292 Accepted 100
16 2 4 2128.0 335352 Time Limit Exceeded 0
17 2 4 1032.0 237800 Accepted 100
18 2 4 1168.0 283928 Accepted 100
19 2 4 1392.0 314524 Accepted 100
20 3 4 1028.0 274052 Accepted 100
21 3 4 0896.0 201840 Accepted 100
22 3 4 1440.0 390832 Accepted 100
23 3 4 1244.0 357256 Accepted 100
24 3 4 1476.0 346180 Accepted 100
25 3 4 0752.0 171596 Accepted 100
26 3 4 1156.0 296512 Accepted 100
27 3 4 1092.0 295404 Accepted 100
28 3 4 1392.0 390912 Accepted 100
29 3 4 1180.0 300572 Accepted 100
30 4 1128.0 223368 Accepted 100
31 4 1588.0 385792 Accepted 100
32 4 1576.0 360132 Accepted 100
33 4 1108.0 215260 Accepted 100
34 4 1332.0 315740 Accepted 100
35 4 1036.0 248496 Accepted 100
36 4 1900.0 367004 Accepted 100
37 4 1568.0 382048 Accepted 100
38 4 1756.0 327184 Accepted 100
39 4 1476.0 255532 Accepted 100
40 4 1148.0 284100 Accepted 100
41 4 1288.0 311832 Accepted 100
42 4 0968.0 224672 Accepted 100
43 4 1096.0 252464 Accepted 100
44 4 1016.0 255984 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.52 KB
Back to Top