cf/mirror

Balanced Rating Changes

CF
1237A1000· newbie1s512 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3
10
-5
-5
Output
5
-2
-3
Sample 2of 2
Input
7
-7
-29
0
3
24
-29
38
Output
-3
-15
0
2
12
-15
19
1237A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)