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