Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2590
28784
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 0003.2 6208 3580 Accepted 100
1 1 0003.7 6208 3532 Accepted 100
2 2 4 5 0002.6 6208 3560 Accepted 100
3 2 4 5 0002.6 6208 3584 Accepted 100
4 2 4 5 0002.9 6208 3692 Accepted 100
5 2 4 5 0002.4 6208 3696 Accepted 100
6 2 4 5 0003.7 6208 3632 Accepted 100
7 2 4 5 0003.5 6208 3588 Accepted 100
8 2 4 5 0002.7 6208 3576 Accepted 100
9 2 4 5 0002.7 6208 3588 Accepted 100
10 2 4 5 0003.6 6208 3624 Accepted 100
11 2 4 5 0004.4 6208 3596 Accepted 100
12 2 4 5 0002.9 6208 3732 Accepted 100
13 2 4 5 0005.0 6208 3604 Accepted 100
14 3 4 5 0003.3 6208 3424 Accepted 100
15 3 4 5 0003.1 6208 3580 Accepted 100
16 3 4 5 0004.2 6208 3628 Accepted 100
17 3 4 5 0003.1 6208 3648 Accepted 100
18 3 4 5 0005.3 6340 3728 Accepted 100
19 3 4 5 0005.9 6512 3752 Accepted 100
20 3 4 5 0017.2 7172 4256 Accepted 100
21 3 4 5 0035.9 8716 5852 Accepted 100
22 3 4 5 0028.4 8844 5904 Accepted 100
23 3 4 5 0027.7 9636 6548 Accepted 100
24 4 5 0003.9 6344 3752 Accepted 100
25 4 5 0004.4 6380 3636 Accepted 100
26 4 5 0006.4 6620 3780 Accepted 100
27 4 5 0009.6 6960 4044 Accepted 100
28 4 5 0017.6 7644 4788 Accepted 100
29 4 5 0023.3 8232 5124 Accepted 100
30 4 5 0029.8 8796 5704 Accepted 100
31 4 5 0030.5 8844 5924 Accepted 100
32 4 5 0030.1 8844 5920 Accepted 100
33 4 5 0030.7 8844 5972 Accepted 100
34 5 0083.9 14052 10552 Accepted 100
35 5 0113.9 16644 13464 Accepted 100
36 5 0143.4 18988 16052 Accepted 100
37 5 0201.2 24788 21116 Accepted 100
38 5 0280.2 31472 28500 Accepted 100
39 5 0278.9 31732 28780 Accepted 100
40 5 0284.2 31732 28784 Accepted 100
41 5 0280.5 31732 28632 Accepted 100
42 5 0280.3 31732 28780 Accepted 100
43 5 0277.0 31732 28628 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
862 Bytes
Back to Top