cf/mirror

Numerical Sequence (easy version)

CF
1216E11900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5
1
3
20
38
56
Output
1
2
5
2
0
Sample 2of 2
Input
4
2132
506
999999999
1000000000
Output
8
2
9
8
1216E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)