cf/mirror

Harry Potter and the History of Magic

CF
65B1700· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
1875
1936
1721
Output
1835
1836
1921
Sample 2of 3
Input
4
9999
2000
3000
3011
Output
1999
2000
2000
2011
Sample 3of 3
Input
3
1999
5055
2000
Output
No solution
65B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)