Problem | knightmoves |
---|---|
User | Yizhou |
Submission Time | 2024-06-12 18:23:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
knightmoves.cpp: In function βint main()β:
knightmoves.cpp:22:18: error: expression cannot be used as a function
22 | int y=f.second();
| ^
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){
| ^