In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:316:23: error: no matching function for call to 'find'
auto it = std::find(current.boxes.begin(), current.boxes.end(), std::make_pair(new_player_x, new_player_y));
^~~~~~~~~
/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,
^
In file included from /in/Compile/check.cpp:6:
/in/sokoban.hpp:332:21: error: no matching function for call to 'find'
if (std::find(current.boxes.begin(), current.boxes.end(), std::make_pair(new_box_x, new_box_y)) != current.boxes.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,
^
/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,
^
5 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1