In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:128:30: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (visitedX[i]) labelX[i] += delta;
~~~~~~~~ ^
/in/sokoban.hpp:128:41: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (visitedX[i]) labelX[i] += delta;
~~~~~~ ^
/in/sokoban.hpp:129:30: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (visitedY[i]) labelY[i] -= delta;
~~~~~~~~ ^
/in/sokoban.hpp:129:41: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (visitedY[i]) labelY[i] -= delta;
~~~~~~ ^
/in/sokoban.hpp:130:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
else slack[i] -= delta;
~~~~~ ^
/in/sokoban.hpp:137:38: error: implicit conversion changes signedness: '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type' (aka 'int') to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
totalCost += cost[(size_t)x][matchX[(size_t)x]];
~~~~ ^~~~~~~~~~~~~~~~~
/in/sokoban.hpp:122:31: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
for (int y = 0; y < n; y++) {
~ ^ ~
/in/sokoban.hpp:127:31: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
for (int i = 0; i < n; i++) {
~ ^ ~
/in/sokoban.hpp:150:26: error: implicit conversion changes signedness: 'int' to '__gnu_cxx::__alloc_traits<std::allocator<unsigned long> >::value_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
cost[i][j] = manhattanDist(boxes[i], targets[j]);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1