cf/mirror

Alternating Sum

CF
963A1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2 2 3 3
+-+
Output
7
Sample 2of 2
Input
4 1 5 1
-
Output
999999228
963A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)