Record Detail

Compile Error

In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:201:50: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
                n.row = size_t(int(c.row) + drow[i]);
                                            ~~~~ ^
/in/sokoban.hpp:202:50: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
                n.col = size_t(int(c.col) + dcol[i]);
                                            ~~~~ ^
/in/sokoban.hpp:224:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
3 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-26 16:12:14
Judged At
2024-11-26 16:12:14
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes