Problem knightmoves
User CKCodeBreaker55
Submission Time 2025-04-23 10:11:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knightmoves.cpp: In function ‘int shortestKnightMoves(int, std::pair<int, int>, std::pair<int, int>, std::set<std::pair<int, int> >&)’:
knightmoves.cpp:35:54: error: expected ‘;’ before ‘)’ token
35 | visited.find(newPos) == visited.end()) {
| ^
| ;