In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:32:38: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool top_wall = (x > 0 && grid[x - 1][y] == '#');
~~~~ ~~^~~
/in/sokoban.hpp:32:43: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool top_wall = (x > 0 && grid[x - 1][y] == '#');
~~~~ ^
/in/sokoban.hpp:33:66: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool bottom_wall = (x < static_cast<int>(rows) - 1 && grid[x + 1][y] == '#');
~~~~ ~~^~~
/in/sokoban.hpp:33:71: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool bottom_wall = (x < static_cast<int>(rows) - 1 && grid[x + 1][y] == '#');
~~~~ ^
/in/sokoban.hpp:34:37: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool left_wall = (y > 0 && grid[x][y - 1] == '#');
~~~~ ^
/in/sokoban.hpp:34:42: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool left_wall = (y > 0 && grid[x][y - 1] == '#');
~~~~ ~~^~~
/in/sokoban.hpp:35:63: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool right_wall = (y < static_cast<int>(cols) - 1 && grid[x][y + 1] == '#');
~~~~ ^
/in/sokoban.hpp:35:68: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool right_wall = (y < static_cast<int>(cols) - 1 && grid[x][y + 1] == '#');
~~~~ ~~^~~
/in/sokoban.hpp:38:14: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[x][y] != 'T' && grid[x][y] != 'R') {
~~~~ ^
/in/sokoban.hpp:38:17: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[x][y] != 'T' && grid[x][y] != 'R') {
~~~~ ^
/in/sokoban.hpp:38:35: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[x][y] != 'T' && grid[x][y] != 'R') {
~~~~ ^
/in/sokoban.hpp:38:38: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[x][y] != 'T' && grid[x][y] != 'R') {
~~~~ ^
/in/sokoban.hpp:97:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nx][ny] == '#') continue;
~~~~ ^~
/in/sokoban.hpp:97:26: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nx][ny] == '#') continue;
~~~~ ^~
/in/sokoban.hpp:110:26: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nnx][nny] == '#' || (boxes_mask & (1ULL << new_box_pos))) {
~~~~ ^~~
/in/sokoban.hpp:110:31: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nnx][nny] == '#' || (boxes_mask & (1ULL << new_box_pos))) {
~~~~ ^~~
/in/sokoban.hpp:137:36: error: use of undeclared identifier 'answers'
if (index < 1 || index >= (int)answers.size()) {
^
/in/sokoban.hpp:140:12: error: use of undeclared identifier 'answers'
return answers[(size_t)index];
^
18 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1