/in/foo.cc: In function 'int main()':
/in/foo.cc:23:14: warning: statement has no effect [-Wunused-value]
c[i][0]=='R';
~~~~~~~^~~~~
/in/foo.cc:32:14: warning: statement has no effect [-Wunused-value]
c[i][0]=='L';
~~~~~~~^~~~~
/in/foo.cc:41:14: warning: statement has no effect [-Wunused-value]
c[i][0]=='D';
~~~~~~~^~~~~
/in/foo.cc:50:14: warning: statement has no effect [-Wunused-value]
c[i][0]=='U';
~~~~~~~^~~~~
/in/foo.cc:56:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
~~~~~~~^~~~~
/in/foo.cc:56:52: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
~~~~~~~^~~~~
/in/foo.cc:56:81: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
~~~~~~~^~~~~
/in/foo.cc:56:110: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(s[3]==0&&((c[2][0]=='L'&c[3][0]=='R')||(c[2][0]=='R'&c[3][0]=='L')||(c[2][0]=='U'&c[3][0]=='D')||(c[2][0]=='D'&c[3][0]=='U'))){
~~~~~~~^~~~~