0_0_39718887_7857.cpp:7:25: error: size of array 'board' is not an integral constant-expression
7 | int isSafe(int board[N][N], int row, int col) {
| ^
0_0_39718887_7857.cpp:7:22: error: size of array 'board' is not an integral constant-expression
7 | int isSafe(int board[N][N], int row, int col) {
| ^
0_0_39718887_7857.cpp:29:32: error: size of array 'board' is not an integral constant-expression
29 | void solveNQueens(int board[N][N], int row) {
| ^
0_0_39718887_7857.cpp:29:29: error: size of array 'board' is not an integral constant-expression
29 | void solveNQueens(int board[N][N], int row) {
| ^
0_0_39718887_7857.cpp: In function 'int main()':
0_0_39718887_7857.cpp:57:18: error: cannot convert 'int (*)[N]' to 'int (*)[1]'
57 | solveNQueens(board, 0); // ¿ªÊ¼»ØËÝ
| ^~~~~
| |
| int (*)[N]
0_0_39718887_7857.cpp:29:23: note: initializing argument 1 of 'void solveNQueens(int (*)[1], int)'
29 | void solveNQueens(int board[N][N], int row) {
| ~~~~^~~~~~~~~~~
|