foo.cc: In function 'long long int dirt(long long int)':
foo.cc:7:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", x);
^
foo.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'long long int sc()':
foo.cc:30:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &ans);
~~~~^
foo.cc:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ans);
~~~~~^~~~~~~~~~~~
Found 1 testcases.
[Hydro](https://hydro.ac)提供评测服务