Three Problems
1211A1000· newbie3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
63 1 4 1 5 9
Output
4 1 3
Sample 2of 3
Input
51 1000000000 1 1000000000 1
Output
-1 -1 -1
Sample 3of 3
Input
910 10 11 10 10 10 10 10 1
Output
9 8 3
58%
1211A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)