Three Parts of the Array
1006C1200· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
51 3 1 1 4
Output
5
Sample 2of 3
Input
51 3 2 1 4
Output
4
Sample 3of 3
Input
34 1 2
Output
0
58%
1006C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 3 1 1 4
5
51 3 2 1 4
4
34 1 2
0