/in/foo.cc: In function 'void dfs(std::vector<std::vector<int> >&, int, int, int, int, std::vector<int>&)':
/in/foo.cc:9:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < temp.size(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc:13:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x+1<graph.size()&& y + 1 < graph[0].size() &&graph[x+1][y]>= graph[x][y+1])
~~~^~~~~~~~~~~~~
/in/foo.cc:13:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x+1<graph.size()&& y + 1 < graph[0].size() &&graph[x+1][y]>= graph[x][y+1])
~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:15:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(y + 1 < graph[0].size())
~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int minPathSum(std::vector<std::vector<int> >&)':
/in/foo.cc:24:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < grid.size(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc:26:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < grid[0].size(); j++)
~~^~~~~~~~~~~~~~~~
/in/foo.cc:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < grid.size(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc:29:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < grid[0].size(); j++)
~~^~~~~~~~~~~~~~~~