Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

936
12636
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 0 3424 Accepted 100
1 1 5 0 3428 Accepted 100
2 1 5 0 3396 Accepted 100
3 2 3 4 5 0 3392 Accepted 100
4 2 3 4 5 0 3336 Accepted 100
5 2 3 4 5 0 3280 Accepted 100
6 2 3 4 5 0 3392 Accepted 100
7 2 3 4 5 0 3272 Accepted 100
8 3 4 5 0 3284 Accepted 100
9 3 4 5 0 3348 Accepted 100
10 3 4 5 0 3308 Accepted 100
11 3 4 5 0 3260 Accepted 100
12 3 4 5 0 3400 Accepted 100
13 3 4 5 0 3300 Accepted 100
14 3 4 5 0 3396 Accepted 100
15 3 4 5 0 3316 Accepted 100
16 3 4 5 0 3312 Accepted 100
17 3 4 5 0 3248 Accepted 100
18 4 5 0 3368 Accepted 100
19 4 5 0 3468 Accepted 100
20 4 5 0 3380 Accepted 100
21 4 5 0 3340 Accepted 100
22 4 5 0 3380 Accepted 100
23 4 5 0 3340 Accepted 100
24 4 5 0 3460 Accepted 100
25 4 5 0 3500 Accepted 100
26 4 5 0 3412 Accepted 100
27 5 104 11476 Accepted 100
28 5 40 6868 Accepted 100
29 5 164 8716 Accepted 100
30 5 40 5040 Accepted 100
31 5 16 5732 Accepted 100
32 5 88 7136 Accepted 100
33 5 152 8336 Accepted 100
34 5 32 7000 Accepted 100
35 5 116 12636 Accepted 100
36 5 28 6488 Accepted 100
37 5 44 6912 Accepted 100
38 5 64 8256 Accepted 100
39 5 48 7540 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.08 KB
Back to Top