foo.cc: In function 'void work()':
foo.cc:39:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
39 | s[i][j] = (1<<i-1)|(1<<j-1);
| ~^~
foo.cc:39:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
39 | s[i][j] = (1<<i-1)|(1<<j-1);
| ~^~
foo.cc:43:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
43 | if(dcmp(aa,a) && dcmp(bb,b)) s[i][j] |= (1<<k-1);
| ~^~
foo.cc:47:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | for (int i = 1; i <= n; i++) s[i][i] |= (1<<i-1);
| ~^~
[Hydro](https://hydro.ac)提供评测服务