In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:44:17: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid.resize(n, std::string(m, ' '));
~~~~~~ ^
/in/sokoban.hpp:44:32: 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.resize(n, std::string(m, ' '));
~~~ ^
/in/sokoban.hpp:46:26: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
std::cin >> grid[i];
~~~~ ^
/in/Compile/check.cpp:105:18: error: use of undeclared identifier 'count'
boxes += count(row.begin(), row.end(), 'B');
^
/in/Compile/check.cpp:106:20: error: use of undeclared identifier 'count'
targets += count(row.begin(), row.end(), 'T');
^
/in/Compile/check.cpp:157:13: error: no matching function for call to 'find'
if (find(row.begin(), row.end(), 'B') != row.end()) {
^~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/streambuf_iterator.h:369:5: note: candidate template ignored: could not match 'istreambuf_iterator' against '__normal_iterator'
find(istreambuf_iterator<_CharT> __first,
^
6 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1