A Leapfrog in the Array
949B1700· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 3234
Output
324
Sample 2of 2
Input
13 410548
Output
13389
58%
949B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 3234
324
13 410548
13389