Problem knightmoves
User Yizhou
Submission Time 2024-06-12 18:24:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knightmoves.cpp: In function β€˜int main()’:
knightmoves.cpp:30:21: error: expected primary-expression before β€˜)’ token
30 | if((nx>=0&&nx<n&&)&&(ny>=0&&ny<n)&&b[nx][ny]!='x'&&d[nx][ny]==-1){
| ^