arboras.cpp: In function 'int main()':
arboras.cpp:96:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
96 | scanf("%lld%lld", &u, &add);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
arboras.cpp:96:23: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
96 | scanf("%lld%lld", &u, &add);
| ~~~^ ~~~~
| | |
| | int*
| long long int*
| %d
arboras.cpp:76:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | scanf("%lld", &n);
| ~~~~~^~~~~~~~~~~~
arboras.cpp:79:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | scanf("%lld", &p[i]);
| ~~~~~^~~~~~~~~~~~~~~
arboras.cpp:84:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
84 | scanf("%lld", &wg[i]);
| ~~~~~^~~~~~~~~~~~~~~~
arboras.cpp:92:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | scanf("%lld", &q);
| ~~~~~^~~~~~~~~~~~
arboras.cpp:96:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
96 | scanf("%lld%lld", &u, &add);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~