/in/foo.cc: In function 'int main()':
/in/foo.cc:18:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (c<65||c>90) c=getchar(); if (c=='H') nap[i]|=1<<m-1;
^~~~~
/in/foo.cc:18:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (c<65||c>90) c=getchar(); if (c=='H') nap[i]|=1<<m-1;
^~
/in/foo.cc:18:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
while (c<65||c>90) c=getchar(); if (c=='H') nap[i]|=1<<m-1;
~^~
/in/foo.cc:19:64: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for (register int j=1;j<m;j++) nap[i]|=getchar()=='H'?(1<<m-j-1):0;
~~~^~
/in/foo.cc:23:67: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
for (register int j=0;j<m-1&&!flag;j++) if ((i&(1<<j))&&(i&(1<<j+1))) flag=1;
~^~
/in/foo.cc:25:73: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
for (register int j=0;j<m-2&&!flag;j++) if ((i&(1<<j))&&(i&(1<<j+2))) flag=1;
~^~
/in/foo.cc:32:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int i=0;i<vec.size();i++)
~^~~~~~~~~~~
/in/foo.cc:34:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int i=0;i<vec.size();i++)
~^~~~~~~~~~~
/in/foo.cc:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int j=0;j<vec.size();j++)
~^~~~~~~~~~~
/in/foo.cc:42:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int i=0;i<vec.size();i++){
~^~~~~~~~~~~
/in/foo.cc:44:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int j=0;j<vec.size();j++){
~^~~~~~~~~~~
/in/foo.cc:46:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (register int k=0;k<vec.size();k++){
~^~~~~~~~~~~