securitygate.cpp: In function 'bool ch(std::__cxx11::string)':
securitygate.cpp:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++)
~~^~~~~~~~~~
securitygate.cpp: In function 'bool check(std::__cxx11::string)':
securitygate.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++)
~~^~~~~~~~~~
securitygate.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i; j < s.size(); j++)
~~^~~~~~~~~~
securitygate.cpp: At global scope:
securitygate.cpp:58:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
securitygate.cpp: In function 'int main()':
securitygate.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++)
~~^~~~~~~~~~
securitygate.cpp:79:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < dam.size(); i++)
~~^~~~~~~~~~~~