Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

368
15412
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 0002.9 26288 3720 Accepted 100
1 1 5 0003.1 26288 3652 Accepted 100
2 1 5 0002.8 26288 3636 Accepted 100
3 2 3 4 5 0002.6 27700 3656 Accepted 100
4 2 3 4 5 0002.6 27700 3664 Accepted 100
5 2 3 4 5 0002.6 27700 3656 Accepted 100
6 2 3 4 5 0002.5 27700 3652 Accepted 100
7 2 3 4 5 0002.6 27700 3628 Accepted 100
8 3 4 5 0002.5 27700 3672 Accepted 100
9 3 4 5 0002.6 27700 3524 Accepted 100
10 3 4 5 0002.8 27700 3636 Accepted 100
11 3 4 5 0002.7 27700 3676 Accepted 100
12 3 4 5 0002.7 27700 3696 Accepted 100
13 3 4 5 0002.6 27700 3664 Accepted 100
14 3 4 5 0002.7 27700 3528 Accepted 100
15 3 4 5 0002.6 27700 3624 Accepted 100
16 3 4 5 0002.6 27700 3524 Accepted 100
17 3 4 5 0002.6 27700 3644 Accepted 100
18 4 5 0002.9 27700 3712 Accepted 100
19 4 5 0003.3 27700 3684 Accepted 100
20 4 5 0002.7 27700 3688 Accepted 100
21 4 5 0002.7 27700 3616 Accepted 100
22 4 5 0002.8 27700 3692 Accepted 100
23 4 5 0003.0 27700 3724 Accepted 100
24 4 5 0002.9 27700 3704 Accepted 100
25 4 5 0002.8 27700 3700 Accepted 100
26 4 5 0002.8 27700 3732 Accepted 100
27 5 0048.4 28464 13812 Accepted 100
28 5 0021.2 28096 7868 Accepted 100
29 5 0025.9 28488 10248 Accepted 100
30 5 0009.9 27904 5792 Accepted 100
31 5 0013.0 28024 6420 Accepted 100
32 5 0017.6 28140 8244 Accepted 100
33 5 0025.8 28444 9712 Accepted 100
34 5 0018.8 28040 7948 Accepted 100
35 5 0057.9 28464 15412 Accepted 100
36 5 0020.1 28012 7380 Accepted 100
37 5 0010.3 28372 6312 Accepted 100
38 5 0013.6 28444 7376 Accepted 100
39 5 0012.1 28344 6624 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top