Compile Error

/in/foo.cc: In function 'bool sudoku(int, int)':
/in/foo.cc:30:25: error: 'bool sudoku(int, int)' redeclared as different kind of symbol
 bool sudoku(int r, int c) // 回溯
                         ^
/in/foo.cc:6:6: note: previous declaration 'bool sudoku [10][10]'
 bool sudoku[I][I];
      ^~~~~~
/in/foo.cc:41:32: error: 'sudoku' cannot be used as a function
             if (sudoku(r + 1, 0))
                                ^
/in/foo.cc:48:32: error: 'sudoku' cannot be used as a function
             if (sudoku(r, c + 1))
                                ^
/in/foo.cc:63:36: error: 'sudoku' cannot be used as a function
                 if (sudoku(r + 1, 0))
                                    ^
/in/foo.cc:70:36: error: 'sudoku' cannot be used as a function
                 if (sudoku(r, c + 1))
                                    ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:94:16: error: 'sudoku' cannot be used as a function
     sudoku(0, 0);
                ^

信息

递交者
类型
递交
题目
P1521 数字游戏(sudoku)
比赛
2024.7.25暑期高级1班练习
语言
C++
递交时间
2024-07-26 14:05:21
评测时间
2024-07-26 14:05:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes