Magic Grid
1208C1800· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4
Output
8 9 1 133 12 7 50 2 4 116 10 15 14
Sample 2of 2
Input
8
Output
19 55 11 39 32 36 4 5251 7 35 31 12 48 28 2043 23 59 15 0 8 16 443 47 27 63 24 40 60 5634 38 6 54 17 53 9 3714 50 30 22 49 5 33 292 10 18 46 41 21 57 1326 42 62 58 1 45 25 61
58%
1208C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)