Make Product Equal One
1206B900· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2-1 1
Output
2
Sample 2of 3
Input
40 0 0 0
Output
4
Sample 3of 3
Input
5-5 -3 5 3 0
Output
13
58%
1206B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2-1 1
2
40 0 0 0
4
5-5 -3 5 3 0
13