cf/mirror

Guess the Maximum

CF
1979A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
4
2 4 1 7
5
1 2 3 4 5
2
1 1
3
37 8 16
5
10 10 10 10 9
10
3 12 9 5 2 3 2 9 8 2
Output
3
1
0
15
9
2
1979A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)