/in/foo.cc: In function 'void insert(std::__cxx11::string, int, int)':
/in/foo.cc:17:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m<s.size()-1) insert (s, m+1, to[fa][s[m]-'a']);
~^~~~~~~~~~~
/in/foo.cc:23:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m<s.size()-1) insert(s, m+1, num);
~^~~~~~~~~~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:43:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m==q.size()){check();return;}
~^~~~~~~~~~