./Main.cpp: In function ‘int main()’:
./Main.cpp:5:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long int’ [-Wformat=]
scanf("%ld%ld%ld%ld",A,B,C,D);
^
./Main.cpp:5:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long int’ [-Wformat=]
./Main.cpp:5:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long int’ [-Wformat=]
./Main.cpp:5:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long int’ [-Wformat=]
./Main.cpp:5:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld",A,B,C,D);
^