/in/foo.cc: In function 'std::__cxx11::string gethash(int)':
/in/foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<go[k1].size();i++)
~^~~~~~~~~~~~~~
/in/foo.cc:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<A.size();i++) ans+=A[i];
~^~~~~~~~~
/in/foo.cc: In function 'long long int getw(std::__cxx11::string)':
/in/foo.cc:31:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<K.length();i++) ans=ans*2+K[i]-'0';
~^~~~~~~~~~~
/in/foo.cc: In function 'void getans()':
/in/foo.cc:36:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=n;i++) go[i].clear(); len=0,now=1;
^~~
/in/foo.cc:36:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=1;i<=n;i++) go[i].clear(); len=0,now=1;
^~~
/in/foo.cc:40:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (M[key]) return; M[key]=1;
^~
/in/foo.cc:40:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (M[key]) return; M[key]=1;
^
/in/foo.cc:43:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<go[i].size();j++){
~^~~~~~~~~~~~~
/in/foo.cc:46:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for (int i=1;i<=n;i++) w[i]=(1<<i-1);
~^~
/in/foo.cc:53:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=len;i++) w[i]=prew[u[i]]|prew[v[i]]; len=0;
^~~
/in/foo.cc:53:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=1;i<=len;i++) w[i]=prew[u[i]]|prew[v[i]]; len=0;
^~~
/in/foo.cc:62:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<B[i].size();j++)
~^~~~~~~~~~~~