Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9082
22792
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 0021.2 21552 19288 Accepted 100
1 1 0021.4 21552 19284 Accepted 100
2 2 4 5 0021.4 21552 19360 Accepted 100
3 2 4 5 0021.4 21556 19256 Accepted 100
4 2 4 5 0021.4 21552 19292 Accepted 100
5 2 4 5 0021.4 21556 19296 Accepted 100
6 2 4 5 0021.5 21556 19296 Accepted 100
7 2 4 5 0021.5 21556 19256 Accepted 100
8 2 4 5 0021.1 21552 19288 Accepted 100
9 2 4 5 0021.9 21552 19256 Accepted 100
10 2 4 5 0022.7 21552 19292 Accepted 100
11 2 4 5 0022.9 21556 19228 Accepted 100
12 2 4 5 0022.7 21556 19324 Accepted 100
13 2 4 5 0022.7 21552 19320 Accepted 100
14 3 4 5 0021.4 21556 19240 Accepted 100
15 3 4 5 0021.6 21556 19188 Accepted 100
16 3 4 5 0022.4 21552 19128 Accepted 100
17 3 4 5 0023.5 21556 19232 Accepted 100
18 3 4 5 0024.8 21552 19256 Accepted 100
19 3 4 5 0029.4 21948 19408 Accepted 100
20 3 4 5 0047.5 22628 20300 Accepted 100
21 3 4 5 0086.3 24284 21664 Accepted 100
22 3 4 5 0108.7 22108 19412 Accepted 100
23 3 4 5 0112.2 25076 22516 Accepted 100
24 4 5 0026.1 21556 19256 Accepted 100
25 4 5 0028.2 21556 19116 Accepted 100
26 4 5 0034.2 21688 19144 Accepted 100
27 4 5 0050.6 21684 19196 Accepted 100
28 4 5 0072.0 21868 19420 Accepted 100
29 4 5 0090.2 22108 19360 Accepted 100
30 4 5 0112.9 22112 19252 Accepted 100
31 4 5 0114.1 22112 19416 Accepted 100
32 4 5 0115.1 22108 19440 Accepted 100
33 4 5 0113.7 22108 19440 Accepted 100
34 5 0290.0 23076 19868 Accepted 100
35 5 0393.3 23080 19936 Accepted 100
36 5 0487.6 24516 20848 Accepted 100
37 5 0669.8 24520 20960 Accepted 100
38 5 0938.5 27400 22704 Accepted 100
39 5 0947.9 27400 22760 Accepted 100
40 5 0946.0 27396 22792 Accepted 100
41 5 0955.7 27400 22652 Accepted 100
42 5 0948.1 27400 22740 Accepted 100
43 5 0945.4 27400 22776 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
750 Bytes
Back to Top