securitygate.cpp: In function 'LL check(std::__cxx11::string)':
securitygate.cpp:9:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < s.size(); j++){
~~^~~~~~~~~~
securitygate.cpp:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = laste; j <= psums.size() - 1; j++){
~~^~~~~~~~~~~~~~~~~~~
securitygate.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j <= psums.size() - 1; j++){
~~^~~~~~~~~~~~~~~~~~~
securitygate.cpp:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < psums.size(); j++){
~~^~~~~~~~~~~~~~
securitygate.cpp:38:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(idx < z.size()){
~~~~^~~~~~~~~~
securitygate.cpp:43:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(idx2 < w.size() && w[idx2] <= e){
~~~~~^~~~~~~~~~
securitygate.cpp: In function 'LL cnt(std::__cxx11::string, int)':
securitygate.cpp:57:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(idx == s.size()) return check(s);
~~~~^~~~~~~~~~~
securitygate.cpp:65:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int z = idx + 1; z <= s.size(); z++){
~~^~~~~~~~~~~
securitygate.cpp:66:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(z == s.size() || s[z] == 'x'){
~~^~~~~~~~~~~
securitygate.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^