/in/foo.cc: In function 'int main()': /in/foo.cc:40:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 40 | if (temp2 > temp1 || temp2 == temp1 && p[i] < beuty)beuty = p[i]; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
By signing up a OPS universal account, you can submit code and join discussions in all online judging services provided by us.
Using your OPS universal account