Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int d4 : DIRECTIONS) {
- if (moves.find({loc1, d4}) != moves.end()) {
- moves.erase({loc1, d4});
- }
- }
- moves.insert({loc1, reverseDir(d1)});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement