Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

45372
387448
Time Limit Exceeded
47

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$。 31 / 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 (RSS, KiB) Verdict Score
0 1 4 0000.0 4660 Accepted 100
1 1 4 0160.0 5660 Accepted 100
2 1 4 0524.0 5620 Accepted 100
3 1 4 0948.0 5920 Accepted 100
4 1 4 0568.0 5556 Accepted 100
5 1 4 0764.0 7768 Accepted 100
6 1 4 0532.0 4836 Accepted 100
7 1 4 0628.0 6984 Accepted 100
8 1 4 0864.0 7920 Accepted 100
9 1 4 0020.0 4660 Accepted 100
10 2 4 1668.0 290128 Accepted 100
11 2 4 0780.0 373748 Accepted 100
12 2 4 1416.0 368156 Accepted 100
13 2 4 1320.0 208480 Accepted 100
14 2 4 0644.0 173512 Accepted 100
15 2 4 1196.0 231276 Accepted 100
16 2 4 1900.0 325972 Accepted 100
17 2 4 0676.0 228536 Accepted 100
18 2 4 0484.0 275280 Accepted 100
19 2 4 0968.0 305912 Accepted 100
20 3 4 1356.0 263676 Accepted 100
21 3 4 1544.0 191792 Accepted 100
22 3 4 1784.0 387448 Accepted 100
23 3 4 1448.0 346748 Accepted 100
24 3 4 2152.0 335672 Time Limit Exceeded 0
25 3 4 1220.0 161664 Accepted 100
26 3 4 1552.0 286188 Accepted 100
27 3 4 1316.0 284940 Accepted 100
28 3 4 1556.0 385228 Accepted 100
29 3 4 1576.0 290224 Accepted 100
30 4 0956.0 214072 Accepted 100
31 4 0572.0 376868 Accepted 100
32 4 1272.0 351584 Accepted 100
33 4 1208.0 205896 Accepted 100
34 4 0604.0 306736 Accepted 100
35 4 0928.0 239720 Accepted 100
36 4 1552.0 357816 Accepted 100
37 4 0528.0 373724 Accepted 100
38 4 1408.0 317828 Accepted 100
39 4 1668.0 246188 Accepted 100
40 4 0680.0 275276 Accepted 100
41 4 0536.0 303204 Accepted 100
42 4 0648.0 215388 Accepted 100
43 4 0892.0 243332 Accepted 100
44 4 0356.0 247068 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.85 KB
Back to Top