cf/mirror

Find Maximum

CF
353C1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2
3 8
10
Output
3
Sample 2of 2
Input
5
17 0 10 2 1
11010
Output
27
353C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)