foo.cc: In function 'int main()':
foo.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
6 | cin>>a,b,c;
| ^
foo.cc:6:19: warning: right operand of comma operator has no effect [-Wunused-value]
6 | cin>>a,b,c;
| ^
foo.cc:10:14: warning: 'c' is used uninitialized [-Wuninitialized]
10 | if(ge*ge*ge+shi*shi*shi+bai*bai*bai==a*100+b*10+c)
| ~~^~~
foo.cc:5:17: note: 'c' was declared here
5 | int a,b,c;
| ^
foo.cc:10:24: warning: 'b' is used uninitialized [-Wuninitialized]
10 | if(ge*ge*ge+shi*shi*shi+bai*bai*bai==a*100+b*10+c)
| ~~~^~~~
foo.cc:5:15: note: 'b' was declared here
5 | int a,b,c;
| ^
[Hydro](https://hydro.ac)提供评测服务