Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2551
20936
Wrong Answer
16

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$ 16 / 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.4 21824 3628 Accepted 100
1 1 0002.6 21824 3688 Wrong Answer 0
2 2 4 5 0002.4 21824 3624 Accepted 100
3 2 4 5 0002.5 21824 3624 Accepted 100
4 2 4 5 0002.5 21824 3564 Wrong Answer 0
5 2 4 5 0002.4 21824 3588 Wrong Answer 0
6 2 4 5 0002.4 21824 3556 Wrong Answer 0
7 2 4 5 0002.4 21824 3588 Wrong Answer 0
8 2 4 5 0002.5 21824 3464 Wrong Answer 0
9 2 4 5 0002.6 21824 3600 Wrong Answer 0
10 2 4 5 0002.7 21824 3584 Wrong Answer 0
11 2 4 5 0002.8 21824 3660 Wrong Answer 0
12 2 4 5 0002.8 21824 3612 Wrong Answer 0
13 2 4 5 0002.8 21824 3612 Wrong Answer 0
14 3 4 5 0002.5 21824 3688 Accepted 100
15 3 4 5 0002.4 21824 3640 Accepted 100
16 3 4 5 0002.7 21824 3588 Accepted 100
17 3 4 5 0003.0 21824 3624 Accepted 100
18 3 4 5 0003.3 21824 3640 Accepted 100
19 3 4 5 0004.4 21824 3672 Accepted 100
20 3 4 5 0008.8 21976 4148 Accepted 100
21 3 4 5 0018.7 22232 4704 Accepted 100
22 3 4 5 0025.8 22232 5132 Accepted 100
23 3 4 5 0025.5 22232 5368 Accepted 100
24 4 5 0003.6 21824 3696 Wrong Answer 0
25 4 5 0004.2 21824 3764 Wrong Answer 0
26 4 5 0005.9 21824 3964 Wrong Answer 0
27 4 5 0009.0 21976 4052 Wrong Answer 0
28 4 5 0016.1 21976 4556 Wrong Answer 0
29 4 5 0022.5 22232 4732 Wrong Answer 0
30 4 5 0027.1 22232 5232 Wrong Answer 0
31 4 5 0029.5 22232 5136 Wrong Answer 0
32 4 5 0027.4 22232 5372 Wrong Answer 0
33 4 5 0029.0 22232 5308 Wrong Answer 0
34 5 0078.6 23392 8308 Wrong Answer 0
35 5 0161.9 23392 10364 Wrong Answer 0
36 5 0175.0 23392 12220 Wrong Answer 0
37 5 0189.3 24928 15908 Accepted 100
38 5 0335.7 24928 20900 Wrong Answer 0
39 5 0273.6 24928 20872 Wrong Answer 0
40 5 0258.1 24928 20936 Wrong Answer 0
41 5 0261.8 24928 20860 Wrong Answer 0
42 5 0258.6 24928 20916 Wrong Answer 0
43 5 0251.0 24928 20924 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
692 Bytes
Back to Top