adriatic.cpp: In function 'int main()':
adriatic.cpp:11:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
11 | scanf("%d",&n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
adriatic.cpp:13:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
13 | scanf("%d%d",&x,&y);
| ~^ ~~
| | |
| int* long long int*
| %lld
adriatic.cpp:13:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
13 | scanf("%d%d",&x,&y);
| ~^ ~~
| | |
| int* long long int*
| %lld
adriatic.cpp:36:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(j=0;j<v[a].size();j++){
| ~^~~~~~~~~~~~
adriatic.cpp:11:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
adriatic.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d%d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~