Labels.cpp: In function 'int main()':
Labels.cpp:14:20: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
14 | scanf(" %lld",&d[i]);
| ~~~^ ~~~~~
| | |
| | int*
| long long int*
| %d
Labels.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf(" %d",&n);
| ~~~~~^~~~~~~~~~
Labels.cpp:14:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf(" %lld",&d[i]);
| ~~~~~^~~~~~~~~~~~~~~