Geometrical problem
51D2200· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
43 6 12 24
Output
0
Sample 2of 3
Input
4-8 -16 24 -32
Output
1
Sample 3of 3
Input
40 1 2 3
Output
2
58%
51D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
43 6 12 24
0
4-8 -16 24 -32
1
40 1 2 3
2