/in/foo.cc: In function 'int main()':
/in/foo.cc:15:43: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'qword* {aka long long int*}' [-Wformat=]
scanf("%I64d %I64d %I64d %d",&a,&b,&c,&n);
~~ ^
/in/foo.cc:15:43: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'qword* {aka long long int*}' [-Wformat=]
/in/foo.cc:15:43: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'qword* {aka long long int*}' [-Wformat=]
/in/foo.cc:46:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'qword {aka long long int}' [-Wformat=]
printf("%I64d\n",sum);
^