/in/foo.cc: In function 'int dfs(std::vector<std::vector<int> >&, int, int, std::vector<std::vector<int> >&)':
/in/foo.cc:6:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(matrix.empty()||ph>matrix.size()||px>matrix[0].size())
~~^~~~~~~~~~~~~~
/in/foo.cc:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(matrix.empty()||ph>matrix.size()||px>matrix[0].size())
~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int longestIncreasingPath(std::vector<std::vector<int> >&)':
/in/foo.cc:33:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(maxX!=matrix[0].size())
~~~~^~~~~~~~~~~~~~~~~~