Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

46400
390888
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 14168 Accepted 100
1 1 4 0024.0 15072 Accepted 100
2 1 4 0064.0 14984 Accepted 100
3 1 4 0088.0 15256 Accepted 100
4 1 4 0068.0 14948 Accepted 100
5 1 4 0100.0 17192 Accepted 100
6 1 4 0048.0 14324 Accepted 100
7 1 4 0064.0 16332 Accepted 100
8 1 4 0112.0 17292 Accepted 100
9 1 4 0012.0 14100 Accepted 100
10 2 4 1904.0 299452 Accepted 100
11 2 4 1632.0 382300 Accepted 100
12 2 4 2372.0 377252 Time Limit Exceeded 0
13 2 4 1000.0 217260 Accepted 100
14 2 4 0956.0 182896 Accepted 100
15 2 4 1088.0 240156 Accepted 100
16 2 4 2116.0 335272 Time Limit Exceeded 0
17 2 4 1048.0 237748 Accepted 100
18 2 4 1180.0 283936 Accepted 100
19 2 4 1376.0 314560 Accepted 100
20 3 4 1020.0 274080 Accepted 100
21 3 4 0864.0 201652 Accepted 100
22 3 4 1420.0 390888 Accepted 100
23 3 4 1236.0 357404 Accepted 100
24 3 4 1436.0 346212 Accepted 100
25 3 4 0724.0 171752 Accepted 100
26 3 4 1148.0 296676 Accepted 100
27 3 4 1068.0 295312 Accepted 100
28 3 4 1376.0 390828 Accepted 100
29 3 4 1140.0 300520 Accepted 100
30 4 1116.0 223440 Accepted 100
31 4 1604.0 385716 Accepted 100
32 4 1560.0 360144 Accepted 100
33 4 1096.0 215148 Accepted 100
34 4 1332.0 315860 Accepted 100
35 4 1024.0 248468 Accepted 100
36 4 1860.0 366980 Accepted 100
37 4 1560.0 382056 Accepted 100
38 4 1732.0 327248 Accepted 100
39 4 1416.0 255364 Accepted 100
40 4 1148.0 284084 Accepted 100
41 4 1252.0 311808 Accepted 100
42 4 0928.0 224524 Accepted 100
43 4 1060.0 252412 Accepted 100
44 4 1020.0 256020 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.54 KB
Back to Top