foo.cc: In function 'int main()':
foo.cc:20:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:92: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:125: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:158: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:191: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:20:223: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:257: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if (x0 - x1 == 1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == 2 || x0 - x1 == -1 && y0 - y1 == -2 || x0 - x1 == 1 && y0 - y1 == -2 || x0 - x1 == 2 && y0 - y1 == 1 || x0 - x1 == -2 && y0 - y1 == 1 || x0 - x1 == 2 && y0 - y1 == -1 || x0 - x1 == -2 && y0 - y1 == -1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务