/in/foo.cc: In function 'int main()':
/in/foo.cc:16:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:102: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:130: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:158: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:186: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:214: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:16:242: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[i]=='A'&&a[len-1-i]=='A'||a[i]=='H'&&a[len-1-i]=='H'||a[i]=='M'&&a[len-1-i]=='M'||a[i]=='I'&&a[len-1-i]=='I'||a[i]=='O'&&a[len-1-i]=='O'||a[i]=='T'&&a[len-1-i]=='T'||a[i]=='U'&&a[len-1-i]=='U'||a[i]=='V'&&a[len-1-i]=='V'||a[i]=='W'&&a[len-1-i]=='W'||a[i]=='X'&&a[len-1-i]=='X'||a[i]=='Y'&&a[len-1-i]=='Y'||a[i]=='v'&&a[len-1-i]=='v'||a[i]=='w'&&a[len-1-i]=='w'||a[i]=='o'&&a[len-1-i]=='o'||a[i]=='x'&&a[len-1-i]=='x'||a[i]=='b'&&a[len-1-i]=='d'||a[i]=='d'&&a[len-1-i]=='b'||a[i]=='q'&&a[len-1-i]=='p'||a[i]=='p'&&a[len-1-i]=='q') {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flag++;
~~~~~~~~~
}
/in/foo.cc:18:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
}
~~ ^
/in/foo.cc:18:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
}
^
/in/foo.cc:18:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
}
^
/in/foo.cc:18:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
}
^
/in/foo.cc:18:126: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
}
^
}
~~