Maximum splitting
870C1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
112
Output
3
Sample 2of 3
Input
268
Output
12
Sample 3of 3
Input
3123
Output
-1-1-1
58%
870C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
112
3
268
12
3123
-1-1-1