Mukhammadali and the Smooth Array
2167G1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
10110541 2 2 35 6 7 844 3 2 11 1 1 133 1 2100 1 155 5 5 5 510 1 10 1 1051 3 2 2 4100 1 1 1 100610 9 8 7 6 51 100 1 100 1 1005100 1 100 100 1001 100 1 1 142 1 2 15 4 3 271 5 3 4 2 6 710 1 10 1 10 1 10
Output
0032012031611
58%
2167G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)