konstrukcija.cpp: In function 'int main()':
konstrukcija.cpp:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
53 | printf("%d %d\n",k+3,(k+1)*2);
| ~^ ~~~
| | |
| int long long int
| %lld
konstrukcija.cpp:53:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
53 | printf("%d %d\n",k+3,(k+1)*2);
| ~^ ~~~~~~~
| | |
| int long long int
| %lld
konstrukcija.cpp:58:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
58 | printf("%d %d\n",i+1,k+3);
| ~^ ~~~
| | |
| int long long int
| %lld
konstrukcija.cpp:51:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
51 | scanf("%lld",&k);
| ~~~~~^~~~~~~~~~~