sequence.cpp: In function 'int main()':
sequence.cpp:54:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
54 | printf("%d\n", pow10[i]);
| ~^ ~~~~~~~~
| | |
| int long long int
| %lld
sequence.cpp:61:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
61 | printf("%d\n", pow10[i]/9*8+1);
| ~^ ~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
sequence.cpp:68:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
68 | printf("%d\n", pow10[i]*a[0]);
| ~^
| |
| int
| %lld
sequence.cpp:46:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
46 | scanf("%d", &k);
| ~~~~~^~~~~~~~~~
sequence.cpp:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d", &i);
| ~~~~~^~~~~~~~~~