/in/foo.cc: In function 'void search_DFS(std::__cxx11::string)':
/in/foo.cc:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ans&&j+xtzm==x.size())
~~~~~~^~~~~~~~~~
/in/foo.cc:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ans&&j+xtzm!=x.size())
~~~~~~^~~~~~~~~~
/in/foo.cc:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!ans&&sum.size()>maxn)
~~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=]
scanf("%s",&a[i]);
^