In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:100:22: error: no member named 'none_of' in namespace 'std'
std::none_of(newBoxes.begin(), newBoxes.end(),
~~~~~^
/in/sokoban.hpp:114:18: error: no member named 'any_of' in namespace 'std'
std::any_of(newBoxes.begin(), newBoxes.end(), [&](const auto &b) {
~~~~~^
/in/sokoban.hpp:123:31: error: comparison of integers of different signs: 'std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::hash<std::__cxx11::string>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >::mapped_type' (aka 'int') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
visited[newState] > newCost) {
~~~~~~~~~~~~~~~~~ ^ ~~~~~~~
/in/sokoban.hpp:124:31: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::hash<std::__cxx11::string>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >::mapped_type' (aka 'int') [-Werror,-Wshorten-64-to-32]
visited[newState] = newCost;
~ ^~~~~~~
/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,
^
7 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1