In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:24:17: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid.resize(row_num);
~~~~~~ ^~~~~~~
/in/sokoban.hpp:26:24: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
std::cin>>grid[i];
~~~~ ^
/in/sokoban.hpp:39:100: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if(x<0||y<0||static_cast<size_t>(x)>=grid[0].size()||static_cast<size_t>(y)>=grid.size()||grid[y][x]=='#'){
~~~~ ^
/in/sokoban.hpp:39:103: 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]
if(x<0||y<0||static_cast<size_t>(x)>=grid[0].size()||static_cast<size_t>(y)>=grid.size()||grid[y][x]=='#'){
~~~~ ^
/in/sokoban.hpp:91:19: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if((grid[y+1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:91:23: 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]
if((grid[y+1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ^
/in/sokoban.hpp:91:37: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if((grid[y+1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ^
/in/sokoban.hpp:91:41: 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]
if((grid[y+1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:92:20: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y+1][x]=='#'&&grid[y][x-1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:92:24: 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[y+1][x]=='#'&&grid[y][x-1]=='#')||
~~~~ ^
/in/sokoban.hpp:92:38: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y+1][x]=='#'&&grid[y][x-1]=='#')||
~~~~ ^
/in/sokoban.hpp:92:42: 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[y+1][x]=='#'&&grid[y][x-1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:93:20: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y-1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:93:24: 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[y-1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ^
/in/sokoban.hpp:93:38: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y-1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ^
/in/sokoban.hpp:93:42: 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[y-1][x]=='#'&&grid[y][x+1]=='#')||
~~~~ ~^~
/in/sokoban.hpp:94:20: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y-1][x]=='#'&&grid[y][x-1]=='#')){
~~~~ ~^~
/in/sokoban.hpp:94:24: 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[y-1][x]=='#'&&grid[y][x-1]=='#')){
~~~~ ^
/in/sokoban.hpp:94:38: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
(grid[y-1][x]=='#'&&grid[y][x-1]=='#')){
~~~~ ^
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