Partial Sums
223C1900· candidate master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 11 2 3
Output
1 3 6
Sample 2of 2
Input
5 03 14 15 92 6
Output
3 14 15 92 6
58%
223C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 11 2 3
1 3 6
5 03 14 15 92 6
3 14 15 92 6