Maximum Waterfall
269D2600· international gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 64 1 63 2 75 9 113 10 151 13 16
Output
4
Sample 2of 2
Input
6 54 2 83 1 22 2 32 6 121 0 71 8 11
Output
2
58%
269D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…