Dynamic Problem Scoring
773B2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
25 15 40 70 11550 45 40 30 15
Output
2
Sample 2of 4
Input
355 80 10 -1 -115 -1 79 60 -142 -1 13 -1 -1
Output
3
Sample 3of 4
Input
5119 119 119 119 1190 0 0 0 -120 65 12 73 7778 112 22 23 111 78 60 111 62
Output
27
Sample 4of 4
Input
4-1 20 40 77 11930 10 73 50 10721 29 -1 64 98117 65 -1 -1 -1
Output
-1
58%
773B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)