aliens.cpp: In function 'bool inpoot(long long int, long long int)':
aliens.cpp:16:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
16 | printf("examine %d %d\n",x,y);
| ~^ ~
| | |
| int long long int
| %lld
aliens.cpp:16:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
16 | printf("examine %d %d\n",x,y);
| ~^ ~
| | |
| int long long int
| %lld
aliens.cpp: In function 'int32_t main()':
aliens.cpp:133:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
133 | printf("solution %d %d\n",X,Y);
| ~^ ~
| | |
| int long long int
| %lld
aliens.cpp:133:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
133 | printf("solution %d %d\n",X,Y);
| ~^ ~
| | |
| int long long int
| %lld
aliens.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | scanf(" %lld",&N);
| ~~~~~^~~~~~~~~~~~
aliens.cpp:29:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf(" %lld",&X);
| ~~~~~^~~~~~~~~~~~
aliens.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf(" %lld",&Y);
| ~~~~~^~~~~~~~~~~~