Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

1128
12504
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 (KiB) Verdict Score
0 1 5 12 4688 Accepted 100
1 1 5 20 5724 Accepted 100
2 1 5 12 4856 Accepted 100
3 2 3 4 5 0 3300 Accepted 100
4 2 3 4 5 0 3276 Accepted 100
5 2 3 4 5 0 3284 Accepted 100
6 2 3 4 5 0 3272 Accepted 100
7 2 3 4 5 0 3288 Accepted 100
8 3 4 5 0 3340 Accepted 100
9 3 4 5 0 3344 Accepted 100
10 3 4 5 0 3288 Accepted 100
11 3 4 5 0 3312 Accepted 100
12 3 4 5 0 3304 Accepted 100
13 3 4 5 0 3332 Accepted 100
14 3 4 5 0 3316 Accepted 100
15 3 4 5 0 3260 Accepted 100
16 3 4 5 0 3280 Accepted 100
17 3 4 5 0 3264 Accepted 100
18 4 5 0 3388 Accepted 100
19 4 5 0 3460 Accepted 100
20 4 5 0 3352 Accepted 100
21 4 5 0 3280 Accepted 100
22 4 5 0 3316 Accepted 100
23 4 5 0 3488 Accepted 100
24 4 5 0 3420 Accepted 100
25 4 5 0 3484 Accepted 100
26 4 5 0 3484 Accepted 100
27 5 116 11476 Accepted 100
28 5 44 6816 Accepted 100
29 5 192 8728 Accepted 100
30 5 44 5080 Accepted 100
31 5 20 5732 Accepted 100
32 5 104 7060 Accepted 100
33 5 168 8376 Accepted 100
34 5 36 6920 Accepted 100
35 5 128 12504 Accepted 100
36 5 32 6388 Accepted 100
37 5 56 6916 Accepted 100
38 5 80 8260 Accepted 100
39 5 64 7404 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.95 KB
Back to Top