Knights of a Polygonal Table
994B1400· specialist1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
4 24 5 9 71 2 11 33
Output
1 3 46 36
Sample 2of 3
Input
5 11 2 3 4 51 2 3 4 5
Output
1 3 5 7 9
Sample 3of 3
Input
1 023
Output
3
58%
994B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)