/in/foo.cc: In function 'int main()':
/in/foo.cc:16:6: warning: left operand of comma operator has no effect [-Wunused-value]
if(a==3,b==7)
~^~~
/in/foo.cc:18:7: warning: left operand of comma operator has no effect [-Wunused-value]
if(a==10,b==3)
~^~~~
/in/foo.cc:20:6: warning: left operand of comma operator has no effect [-Wunused-value]
if(a==2,b==3)
~^~~
/in/foo.cc:22:7: warning: left operand of comma operator has no effect [-Wunused-value]
if(a==2,b==5)
~^~~
/in/foo.cc:14:10: warning: unused variable 'temp' [-Wunused-variable]
int a,b,temp,ans,num;
^~~~
/in/foo.cc:14:15: warning: unused variable 'ans' [-Wunused-variable]
int a,b,temp,ans,num;
^~~
/in/foo.cc:14:19: warning: unused variable 'num' [-Wunused-variable]
int a,b,temp,ans,num;
^~~