In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:93:29: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> labelWorker(n, 0), labelTask(n, 0);
~~~~~~~~~~~ ^
/in/sokoban.hpp:93:46: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> labelWorker(n, 0), labelTask(n, 0);
~~~~~~~~~ ^
/in/sokoban.hpp:94:29: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> matchWorker(n, -1), matchTask(n, -1);
~~~~~~~~~~~ ^
/in/sokoban.hpp:94:47: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> matchWorker(n, -1), matchTask(n, -1);
~~~~~~~~~ ^
/in/sokoban.hpp:95:23: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> slack(n, INT_MAX), slackWorker(n);
~~~~~ ^
/in/sokoban.hpp:95:48: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<int> slack(n, INT_MAX), slackWorker(n);
~~~~~~~~~~~ ^
/in/sokoban.hpp:98:23: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
visitedWorker[worker] = true;
~~~~~~~~~~~~~ ^~~~~~
/in/sokoban.hpp:100:29: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (visitedTask[task]) continue;
~~~~~~~~~~~ ^~~~
/in/sokoban.hpp:101:30: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
int delta = cost[worker][task] - labelWorker[worker] - labelTask[task];
~~~~ ^~~~~~
/in/sokoban.hpp:101:38: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
int delta = cost[worker][task] - labelWorker[worker] - labelTask[task];
~~~~ ^~~~
/in/sokoban.hpp:101:58: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
int delta = cost[worker][task] - labelWorker[worker] - labelTask[task];
~~~~~~~~~~~ ^~~~~~
/in/sokoban.hpp:101:78: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
int delta = cost[worker][task] - labelWorker[worker] - labelTask[task];
~~~~~~~~~ ^~~~
/in/sokoban.hpp:103:29: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
visitedTask[task] = true;
~~~~~~~~~~~ ^~~~
/in/sokoban.hpp:105:33: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
matchWorker[worker] = task;
~~~~~~~~~~~ ^~~~~~
/in/sokoban.hpp:106:31: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
matchTask[task] = worker;
~~~~~~~~~ ^~~~
/in/sokoban.hpp:109:30: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
} else if (slack[task] > delta) {
~~~~~ ^~~~
/in/sokoban.hpp:110:23: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
slack[task] = delta;
~~~~~ ^~~~
/in/sokoban.hpp:111:29: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
slackWorker[task] = worker;
~~~~~~~~~~~ ^~~~
/in/sokoban.hpp:119:36: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
vector<bool> visitedWorker(n, false), visitedTask(n, false);
~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1