cf/mirror

Increase and Decrease

CF
246B1300· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2
2 1
Output
1
Sample 2of 2
Input
3
1 4 1
Output
3
246B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)