cf/mirror

Узкая дорога

CF
1769A800· newbie⌨ stdin/stdout

Examples

Sample 1of 3
Input
4
20
30
50
100
Output
19
28
47
96
Sample 2of 3
Input
5
1
2
3
4
5
Output
0
1
2
3
4
Sample 3of 3
Input
8
5
9
10
15
17
18
19
22
Output
4
7
8
11
12
13
14
15
1769A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)