Record Detail

Compile Error

In file included from /in/Compile/check.cpp:7:
In file included from /in/sokoban.hpp:9:
/in/Distance.hpp:160:199: error: unused parameter 'grid' [-Werror,-Wunused-parameter]
int heuristic1(const std::unordered_set<std::pair<size_t, size_t>, pair_hash> &currentBoxes, const std::unordered_set<std::pair<size_t, size_t>, pair_hash> &targets, const std::vector<std::string> &grid)
                                                                                                                                                                                                      ^
/in/Distance.hpp:203:13: error: unused variable 'totalDist' [-Werror,-Wunused-variable]
        int totalDist = 0;
            ^
2 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1

Information

Submit By
Type
Submission
Homework
Project3
Language
C++
Submit At
2024-11-21 14:38:10
Judged At
2024-11-21 14:38:10
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes