cf/mirror

Maximize the Last Element

CF
1991A800· newbie1s256 MB⌨ stdin/stdout

Examples

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