Memory for Arrays
309C1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 38 4 3 2 23 2 2
Output
2
Sample 2of 2
Input
10 61 1 1 1 1 1 1 1 1 10 0 0 0 0 0
Output
6
58%
309C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
5 38 4 3 2 23 2 2
2
10 61 1 1 1 1 1 1 1 1 10 0 0 0 0 0
6