Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1272
12776
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 $N = 1$ 4 / 4
2 3~7 $1\leq N \leq \sum |S_i| \leq 20$ 6 / 6
3 3~17 $1\leq N \leq\sum |S_i| \leq 300$ 15 / 15
4 3~26 $1\leq N \leq\sum |S_i| \leq 3500$ 25 / 25
5 0~39 $1\leq N \leq\sum |S_i| \leq 2 \times 10^ 5$ 50 / 50

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0014.8 17308 4940 Accepted 100
1 1 5 0023.3 17308 5884 Accepted 100
2 1 5 0016.6 17308 5148 Accepted 100
3 2 3 4 5 0002.6 17156 3628 Accepted 100
4 2 3 4 5 0002.7 17156 3576 Accepted 100
5 2 3 4 5 0002.6 17156 3572 Accepted 100
6 2 3 4 5 0002.7 17156 3616 Accepted 100
7 2 3 4 5 0002.8 17156 3568 Accepted 100
8 3 4 5 0002.8 17156 3444 Accepted 100
9 3 4 5 0002.8 17156 3560 Accepted 100
10 3 4 5 0002.8 17156 3584 Accepted 100
11 3 4 5 0002.8 17156 3620 Accepted 100
12 3 4 5 0002.8 17156 3652 Accepted 100
13 3 4 5 0002.8 17156 3612 Accepted 100
14 3 4 5 0002.7 17156 3564 Accepted 100
15 3 4 5 0002.7 17156 3600 Accepted 100
16 3 4 5 0002.8 17156 3560 Accepted 100
17 3 4 5 0002.8 17156 3612 Accepted 100
18 4 5 0003.5 17156 3524 Accepted 100
19 4 5 0003.9 17156 3712 Accepted 100
20 4 5 0003.3 17156 3616 Accepted 100
21 4 5 0003.0 17156 3548 Accepted 100
22 4 5 0003.1 17156 3748 Accepted 100
23 4 5 0003.3 17156 3792 Accepted 100
24 4 5 0003.2 17156 3668 Accepted 100
25 4 5 0003.7 17156 3596 Accepted 100
26 4 5 0003.7 17156 3676 Accepted 100
27 5 0122.4 17920 11656 Accepted 100
28 5 0051.0 17552 7028 Accepted 100
29 5 0193.5 17944 8952 Accepted 100
30 5 0048.4 17360 5376 Accepted 100
31 5 0023.1 17480 5844 Accepted 100
32 5 0107.3 17596 7368 Accepted 100
33 5 0173.2 17900 8692 Accepted 100
34 5 0040.6 17496 7168 Accepted 100
35 5 0138.8 17920 12776 Accepted 100
36 5 0034.6 17468 6660 Accepted 100
37 5 0058.6 17828 7084 Accepted 100
38 5 0085.4 17900 8468 Accepted 100
39 5 0068.9 17800 7644 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.95 KB
Back to Top