cf/mirror

Yarik and Array

CF
1899C1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
5
1 2 3 4 5
4
9 9 8 8
6
-1 4 -1 0 5 -4
4
-1 2 4 -3
1
-1000
3
101 -99 101
20
-10 5 -8 10 6 -10 7 9 -2 -6 7 2 -4 6 -1 7 -6 -7 4 1
Output
15
17
8
4
-1000
101
10
1899C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)