foo.cpp: In function 'int judge(int)':
foo.cpp:12:8: warning: unused variable 'w' [-Wunused-variable]
int i,w=0;
^
foo.cpp: In function 'int bin()':
foo.cpp:29:28: error: 'abs' was not declared in this scope
if(mid==1 ) {return abs(k);}
^
foo.cpp:31:21: error: 'abs' was not declared in this scope
if(abs(ff)>=abs(k))
^
foo.cpp:37:18: error: 'abs' was not declared in this scope
if(abs(ff)>=abs(k))
^
foo.cpp:44:14: error: 'abs' was not declared in this scope
return abs(k);
^
foo.cpp: In function 'int main()':
foo.cpp:50:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
scanf("%d %d %d",&a,&b,&c);
^
foo.cpp:49:8: warning: unused variable 'j' [-Wunused-variable]
int i,j,m,n;
^
foo.cpp: In function 'int bin()':
foo.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^