foo.cc: In function 'int main()':
foo.cc:7:13: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
7 | if(a>b&a>c)
| ~^~
foo.cc:21:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
21 | else if(b>a&b>c)
| ~^~
foo.cc:35:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
35 | else if(c>a&c>b)
| ~^~
foo.cc:49:35: warning: 'a03' may be used uninitialized [-Wmaybe-uninitialized]
49 | cout<<a01<<" "<<a02<<" "<<a03;
| ^~~
foo.cc:5:27: note: 'a03' was declared here
5 | int a,b,c,a01,a02,a03;
| ^~~
foo.cc:49:30: warning: 'a02' may be used uninitialized [-Wmaybe-uninitialized]
49 | cout<<a01<<" "<<a02<<" "<<a03;
| ^~~
foo.cc:5:23: note: 'a02' was declared here
5 | int a,b,c,a01,a02,a03;
| ^~~
foo.cc:49:20: warning: 'a01' may be used uninitialized [-Wmaybe-uninitialized]
49 | cout<<a01<<" "<<a02<<" "<<a03;
| ^~~
foo.cc:5:19: note: 'a01' was declared here
5 | int a,b,c,a01,a02,a03;
| ^~~
[Hydro](https://hydro.ac)提供评测服务