Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

47516
390932
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 14012 Accepted 100
1 1 4 0028.0 15208 Accepted 100
2 1 4 0076.0 15048 Accepted 100
3 1 4 0108.0 15388 Accepted 100
4 1 4 0080.0 14872 Accepted 100
5 1 4 0120.0 17312 Accepted 100
6 1 4 0060.0 14384 Accepted 100
7 1 4 0088.0 16480 Accepted 100
8 1 4 0132.0 17368 Accepted 100
9 1 4 0012.0 14148 Accepted 100
10 2 4 1928.0 299508 Accepted 100
11 2 4 1648.0 382252 Accepted 100
12 2 4 2456.0 377416 Time Limit Exceeded 0
13 2 4 1036.0 217328 Accepted 100
14 2 4 0980.0 182760 Accepted 100
15 2 4 1096.0 240184 Accepted 100
16 2 4 2148.0 335200 Time Limit Exceeded 0
17 2 4 1076.0 237784 Accepted 100
18 2 4 1228.0 283860 Accepted 100
19 2 4 1396.0 314524 Accepted 100
20 3 4 1064.0 274140 Accepted 100
21 3 4 0892.0 201808 Accepted 100
22 3 4 1468.0 390932 Accepted 100
23 3 4 1288.0 357324 Accepted 100
24 3 4 1464.0 346256 Accepted 100
25 3 4 0740.0 171504 Accepted 100
26 3 4 1136.0 296692 Accepted 100
27 3 4 1088.0 295504 Accepted 100
28 3 4 1392.0 390704 Accepted 100
29 3 4 1180.0 300592 Accepted 100
30 4 1140.0 223444 Accepted 100
31 4 1612.0 385788 Accepted 100
32 4 1592.0 360220 Accepted 100
33 4 1112.0 215172 Accepted 100
34 4 1348.0 315888 Accepted 100
35 4 1032.0 248496 Accepted 100
36 4 1944.0 367208 Accepted 100
37 4 1580.0 382044 Accepted 100
38 4 1768.0 327104 Accepted 100
39 4 1476.0 255464 Accepted 100
40 4 1176.0 284200 Accepted 100
41 4 1252.0 311840 Accepted 100
42 4 0944.0 224672 Accepted 100
43 4 1100.0 252360 Accepted 100
44 4 1024.0 255896 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.46 KB
Back to Top