cf/mirror

Array Walk

CF
1389B1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
5 4 0
1 5 4 3 2
5 4 1
1 5 4 3 2
5 4 4
10 20 30 40 50
10 7 3
4 6 8 2 9 9 7 4 10 9
Output
15
19
150
56
1389B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)