Stack Exterminable Arrays
1223F2600· international gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
352 1 1 2 261 2 1 1 3 293 1 2 2 1 6 6 3 3
Output
418
58%
1223F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
352 1 1 2 261 2 1 1 3 293 1 2 2 1 6 6 3 3
418