cf/mirror

Make Product Equal One

CF
1206B900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
2
-1 1
Output
2
Sample 2of 3
Input
4
0 0 0 0
Output
4
Sample 3of 3
Input
5
-5 -3 5 3 0
Output
13
1206B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)