cf/mirror

Lucky Substring

CF
122B1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
047
Output
4
Sample 2of 3
Input
16
Output
-1
Sample 3of 3
Input
472747
Output
7
122B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)