./Main.cpp: In function ‘int main()’:
./Main.cpp:4:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
^
./Main.cpp:4:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
./Main.cpp:4:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
./Main.cpp:4:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
./Main.cpp:8:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",x);
^
./Main.cpp:10:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
else{printf("%ld\n",y);}
^
./Main.cpp:4:38: warning: ignorin...