cf/mirror

Array Game

CF
1904C1400· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
5 2
3 9 7 15 1
4 3
7 4 15 12
6 2
42 47 50 54 62 79
2 1
500000000000000000 1000000000000000000
Output
1
0
3
500000000000000000
1904C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)