Squares
263B900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
4 35 1 3 4
Output
2 1
Sample 2of 3
Input
3 12 4 1
Output
4 0
Sample 3of 3
Input
4 505 1 10 2
Output
-1
58%
263B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 35 1 3 4
2 1
3 12 4 1
4 0
4 505 1 10 2
-1