exam.cpp: In function 'int main()':
exam.cpp:50:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
50 | scanf("%d",&N);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
exam.cpp:52:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
52 | scanf("%d",&A[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
exam.cpp:56:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
56 | scanf("%d",&B[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
exam.cpp:60:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
60 | printf("%d\n", solveEQ());
| ~^ ~~~~~~~~~
| | |
| int long long int
| %lld
exam.cpp:63:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
63 | printf("%d\n", solveSORT());
| ~^ ~~~~~~~~~~~
| | |
| int long long int
| %lld
exam.cpp:50:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
50 | scanf("%d",&N);
| ~~~~~^~~~~~~~~
exam.cpp:52:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | scanf("%d",&A[i]);
| ~~~~~^~~~~~~~~~~~
exam.cpp:56:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | scanf("%d",&B[i]);
| ~~~~~^~~~~~~~~~~~