/in/foo.cc: In function 'int rotate(int, int)':
/in/foo.cc:12:17: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
d ^= 1 << t - 1;
~~^~~
/in/foo.cc:13:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(t > 5) d ^= 1 << t - 5 - 1;
~~~~~~^~~
/in/foo.cc:14:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(t <= 20) d ^= 1 << t + 5 - 1;
~~~~~~^~~
/in/foo.cc:15:41: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if((t - 1) % 5 > 0) d ^= 1 << t - 1 - 1;
~~~~~~^~~
/in/foo.cc:16:41: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if((t - 1) % 5 < 4) d ^= 1 << t + 1 - 1;
~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:62: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(t[j - 1] - '0') s |= 1 << (i - 1) * 5 + j - 1;
~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'int BFS()':
/in/foo.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^