Sweepstake
1571D1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 31 22 12 1
Output
3
Sample 2of 2
Input
3 63 13 22 13 23 23 1
Output
4
58%
1571D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 31 22 12 1
3
3 63 13 22 13 23 23 1
4