Problem knightmoves
User LXYSGP
Submission Time 2026-01-06 13:06:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knightmoves.cpp:3:11: error: uninitialized const ‘mn’ [-fpermissive]
3 | const int mn;
| ^~
knightmoves.cpp:4:12: error: size of array ‘g’ is not an integral constant-expression
4 | char g[mn][mn];
| ^~
knightmoves.cpp:4:8: error: size of array ‘g’ is not an integral constant-expression
4 | char g[mn][mn];
| ^~
knightmoves.cpp:5:14: error: size of array ‘vis’ is not an integral constant-expression
5 | bool vis[mn][mn];
| ^~
knightmoves.cpp:5:10: error: size of array ‘vis’ is not an integral constant-expression
5 | bool vis[mn][mn];
| ^~