Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2801
20940
Wrong Answer
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~13 $n \le 3000$ 0 / 13
3 14~23 $n \le 2 \times 10 ^ 5, a_i \ge 0$ 0 / 16
4 2~33 $n \le 2\times 10 ^ 5$ 0 / 32
5 2~43 無其他限制 0 / 39

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 21828 3592 Accepted 100
1 1 0002.7 21828 3460 Accepted 100
2 2 4 5 0002.6 21828 3636 Accepted 100
3 2 4 5 0002.6 21828 3552 Accepted 100
4 2 4 5 0002.4 21828 3632 Accepted 100
5 2 4 5 0002.6 21828 3456 Accepted 100
6 2 4 5 0002.4 21828 3584 Accepted 100
7 2 4 5 0002.7 21828 3460 Accepted 100
8 2 4 5 0002.5 21828 3588 Wrong Answer 0
9 2 4 5 0002.6 21828 3644 Accepted 100
10 2 4 5 0002.9 21828 3660 Accepted 100
11 2 4 5 0003.0 21828 3584 Accepted 100
12 2 4 5 0002.9 21828 3588 Accepted 100
13 2 4 5 0002.9 21828 3600 Accepted 100
14 3 4 5 0002.4 21828 3568 Accepted 100
15 3 4 5 0002.5 21828 3568 Wrong Answer 0
16 3 4 5 0002.8 21828 3644 Wrong Answer 0
17 3 4 5 0003.0 21828 3736 Wrong Answer 0
18 3 4 5 0003.4 21828 3632 Accepted 100
19 3 4 5 0005.1 22092 3904 Accepted 100
20 3 4 5 0011.0 22788 4604 Accepted 100
21 3 4 5 0024.1 24392 6740 Accepted 100
22 3 4 5 0029.1 22236 5376 Wrong Answer 0
23 3 4 5 0032.6 25316 8348 Accepted 100
24 4 5 0004.0 21828 3736 Accepted 100
25 4 5 0004.7 21828 3768 Accepted 100
26 4 5 0006.6 21828 3896 Accepted 100
27 4 5 0009.9 21980 4128 Accepted 100
28 4 5 0018.8 21980 4548 Accepted 100
29 4 5 0025.0 22236 4852 Accepted 100
30 4 5 0032.2 22236 5284 Accepted 100
31 4 5 0032.7 22236 5320 Accepted 100
32 4 5 0032.9 22236 5352 Accepted 100
33 4 5 0032.3 22236 5308 Accepted 100
34 5 0090.4 23396 8476 Accepted 100
35 5 0122.3 23396 10320 Accepted 100
36 5 0152.6 23396 12016 Accepted 100
37 5 0252.0 24932 15700 Wrong Answer 0
38 5 0307.9 24932 20668 Accepted 100
39 5 0307.1 24932 20940 Wrong Answer 0
40 5 0299.3 24932 20716 Wrong Answer 0
41 5 0308.5 24932 20756 Accepted 100
42 5 0302.7 24932 20876 Accepted 100
43 5 0306.3 24932 20844 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
815 Bytes
Back to Top