Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

573
18116
Wrong Answer
4

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$ 0 / 6
3 3~17 $1\leq N \leq\sum |S_i| \leq 300$ 0 / 15
4 3~26 $1\leq N \leq\sum |S_i| \leq 3500$ 0 / 25
5 0~39 $1\leq N \leq\sum |S_i| \leq 2 \times 10^ 5$ 0 / 50

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0002.9 34880 3752 Accepted 100
1 1 5 0003.1 34880 3760 Accepted 100
2 1 5 0003.0 34880 3748 Accepted 100
3 2 3 4 5 0002.8 36292 3624 Accepted 100
4 2 3 4 5 0002.8 36292 3604 Accepted 100
5 2 3 4 5 0002.8 36292 3608 Accepted 100
6 2 3 4 5 0002.8 36292 3732 Wrong Answer 0
7 2 3 4 5 0002.8 36292 3616 Wrong Answer 0
8 3 4 5 0002.9 36292 3740 Accepted 100
9 3 4 5 0002.8 36292 3632 Accepted 100
10 3 4 5 0002.8 36292 3616 Accepted 100
11 3 4 5 0002.8 36292 3748 Accepted 100
12 3 4 5 0002.9 36292 3656 Accepted 100
13 3 4 5 0002.9 36292 3636 Accepted 100
14 3 4 5 0002.8 36292 3744 Accepted 100
15 3 4 5 0002.8 36292 3680 Accepted 100
16 3 4 5 0002.8 36292 3596 Accepted 100
17 3 4 5 0002.8 36292 3628 Accepted 100
18 4 5 0003.4 36292 3804 Accepted 100
19 4 5 0003.7 36292 3876 Accepted 100
20 4 5 0003.2 36292 3768 Accepted 100
21 4 5 0002.9 36292 3648 Accepted 100
22 4 5 0003.1 36292 3704 Accepted 100
23 4 5 0003.2 36292 3808 Accepted 100
24 4 5 0003.2 36292 3712 Accepted 100
25 4 5 0003.3 36292 3816 Accepted 100
26 4 5 0003.3 36292 3804 Wrong Answer 0
27 5 0080.5 37056 16488 Accepted 100
28 5 0032.5 36688 9088 Accepted 100
29 5 0048.7 37080 12596 Accepted 100
30 5 0016.4 36496 6672 Wrong Answer 0
31 5 0015.4 36616 6836 Accepted 100
32 5 0034.7 36732 10008 Accepted 100
33 5 0048.5 37036 12100 Accepted 100
34 5 0027.5 36632 9196 Accepted 100
35 5 0091.9 37056 18116 Accepted 100
36 5 0026.9 36604 8312 Accepted 100
37 5 0019.7 36964 9496 Wrong Answer 0
38 5 0026.6 37036 11556 Accepted 100
39 5 0022.7 36936 10280 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.42 KB
Back to Top