foo.cc: In function 'int main()':
foo.cc:7:6: warning: statement has no effect [-Wunused-value]
a==m/100;
~^~~~~~~
foo.cc:8:6: warning: statement has no effect [-Wunused-value]
b==(m-a*100)/10;
~^~~~~~~~~~~~~~
foo.cc:9:6: warning: statement has no effect [-Wunused-value]
c==m%10;
~^~~~~~
foo.cc:10:9: warning: 'a' is used uninitialized in this function [-Wuninitialized]
if(a*a*a+b*b*b+c*c*c==m)cout<<"Yes";
~^~
foo.cc:10:15: warning: 'b' is used uninitialized in this function [-Wuninitialized]
if(a*a*a+b*b*b+c*c*c==m)cout<<"Yes";
~^~
foo.cc:10:21: warning: 'c' is used uninitialized in this function [-Wuninitialized]
if(a*a*a+b*b*b+c*c*c==m)cout<<"Yes";
~^~
[Hydro](https://hydro.ac)提供评测服务