/in/foo.cc: In function 'void getAns(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:13:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str1.length(); i++) g[i][0] = 1;
~~^~~~~~~~~~~~~~~
/in/foo.cc:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str2.length(); i++) g[0][i] = 1;
~~^~~~~~~~~~~~~~~
/in/foo.cc:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= str1.length(); i++) {
~~^~~~~~~~~~~~~~~~
/in/foo.cc:16:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j <= str2.length(); j++) {
~~^~~~~~~~~~~~~~~~