Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8590
36668
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~13 $n \le 3000$ 13 / 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$ 32 / 32
5 2~43 無其他限制 39 / 39

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 6052 3580 Accepted 100
1 1 0002.7 6052 3580 Accepted 100
2 2 4 5 0002.5 6052 3460 Accepted 100
3 2 4 5 0002.6 6052 3460 Accepted 100
4 2 4 5 0002.6 6052 3532 Accepted 100
5 2 4 5 0002.6 6052 3568 Accepted 100
6 2 4 5 0002.5 6052 3564 Accepted 100
7 2 4 5 0002.7 6052 3660 Accepted 100
8 2 4 5 0002.8 6052 3580 Accepted 100
9 2 4 5 0004.0 6052 3660 Accepted 100
10 2 4 5 0004.1 6184 3664 Accepted 100
11 2 4 5 0004.1 6184 3640 Accepted 100
12 2 4 5 0003.9 6184 3624 Accepted 100
13 2 4 5 0004.1 6184 3548 Accepted 100
14 3 4 5 0002.5 6052 3488 Accepted 100
15 3 4 5 0003.0 6052 3508 Accepted 100
16 3 4 5 0003.7 6184 3732 Accepted 100
17 3 4 5 0004.6 6216 3540 Accepted 100
18 3 4 5 0006.2 6216 3736 Accepted 100
19 3 4 5 0010.8 6736 3932 Accepted 100
20 3 4 5 0029.4 8032 5052 Accepted 100
21 3 4 5 0069.7 11040 8148 Accepted 100
22 3 4 5 0092.3 9500 6792 Accepted 100
23 3 4 5 0097.6 12704 9924 Accepted 100
24 4 5 0007.3 6232 3592 Accepted 100
25 4 5 0009.6 6272 3708 Accepted 100
26 4 5 0015.9 6616 3808 Accepted 100
27 4 5 0026.9 6984 4044 Accepted 100
28 4 5 0054.7 8076 5132 Accepted 100
29 4 5 0074.1 8684 5700 Accepted 100
30 4 5 0098.0 9436 6436 Accepted 100
31 4 5 0100.2 9500 6876 Accepted 100
32 4 5 0100.3 9500 6756 Accepted 100
33 4 5 0098.5 9500 6796 Accepted 100
34 5 0283.6 16140 12968 Accepted 100
35 5 0387.6 19596 16600 Accepted 100
36 5 0487.4 23684 20036 Accepted 100
37 5 0684.3 30052 26668 Accepted 100
38 5 0962.8 40884 36316 Accepted 100
39 5 0969.4 41228 36524 Accepted 100
40 5 0960.8 41228 36580 Accepted 100
41 5 0962.9 41228 36524 Accepted 100
42 5 0961.9 41228 36668 Accepted 100
43 5 0980.3 41228 36520 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
776 Bytes
Back to Top