Problem knightmoves
User ForgottenDragon
Submission Time 2025-08-20 21:29:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knightmoves.cpp:30:19: error: ‘coord_t’ was not declared in this scope
30 | unordered_set<coord_t, pair_hash> visited; // if it is in this, it is visited already.
| ^~~~~~~
knightmoves.cpp:30:28: error: ‘pair_hash’ was not declared in this scope
30 | unordered_set<coord_t, pair_hash> visited; // if it is in this, it is visited already.
| ^~~~~~~~~
knightmoves.cpp:30:37: error: template argument 1 is invalid
30 | unordered_set<coord_t, pair_hash> visited; // if it is in this, it is visited already.
| ^
knightmoves.cpp:30:37: error: template argument 2 is invalid
knightmoves.cpp:30:37: error: template argument 3 is invalid
knightmoves.cpp:30:37: error: template argument 4 is invalid
knightmoves.cpp:31:17: error: ‘coord_t’ was not declared in this scope
31 | queue< pair<coord_t, ll> > to_explore;