bridge.cpp:28:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
bridge.cpp: In function 'int main()':
bridge.cpp:70:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",min(r1,r2));
^
bridge.cpp:29:7: warning: unused variable 't' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:29:11: warning: unused variable 'j' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:29:13: warning: unused variable 'k' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:29:29: warning: unused variable 'l' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:29:33: warning: unused variable 'r' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:29:37: warning: unused variable 'mn' [-Wunused-variable]
long t,i,j,k,n,m,x,y,res=0,l=0,r=0,mn=MAX,m1,m2,r1,r2;
^
bridge.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&m,&n);
^
bridge.cpp:38:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %lld %s %lld",c1,&x,c2,&y);
^
bridge.cpp:49:27: warning: 'med' may be used uninitialized in this function [-Wmaybe-uninitialized]
med += (double)(x+y)/2.0;
^