cf/mirror

Sum and Product

CF
1857F1600· expert4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
3
1 3 2
4
3 2
5 6
3 1
5 5
4
1 1 1 1
1
2 1
6
1 4 -2 3 3 3
3
2 -8
-1 -2
7 12
Output
1 1 0 0
6
1 1 3
1857F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)