/in/foo.cc: In function 'void add(std::__cxx11::string)':
/in/foo.cc:42:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < st.length(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool search(std::__cxx11::string)':
/in/foo.cc:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < st.length(); i++)
~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int getans(std::__cxx11::string)':
/in/foo.cc:93:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < p.length(); i++)
~~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:116:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < p.length(); i++)
~~^~~~~~~~~~~~
/in/foo.cc: In function 'int getasd(char)':
/in/foo.cc:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^