The Contest
813A1100· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
23 421 47 9
Output
7
Sample 2of 3
Input
1511 4
Output
-1
Sample 3of 3
Input
1511 5
Output
5
58%
813A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
23 421 47 9
7
1511 4
-1
1511 5
5