foo.cc: In function 'int main()':
foo.cc:6:14: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b,c;
^
foo.cc:6:15: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b,c;
^
foo.cc:7:5: warning: 'b' is used uninitialized in this function [-Wuninitialized]
if(b==1)
^~
foo.cc:13:7: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
s=31+d;
~^~~~~
foo.cc:62:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<s;
~~~~^~~
[Hydro](https://hydro.ac)提供评测服务