sequence.cpp: In function 'int main()':
sequence.cpp:56:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=]
scanf("%d%d",&n,&k);
~~ ^
sequence.cpp:56:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int64_t* {aka long int*}' [-Wformat=]
sequence.cpp:59:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int64_t* {aka long int*}' [-Wformat=]
scanf("%I64d",&a[i]);
~~~~~^
sequence.cpp:64:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=]
printf("%d\n",f[n]);
~~~~^
sequence.cpp:69:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int64_t {aka long int}' [-Wformat=]
printf("%d ",n);
^
sequence.cpp:56:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
~~~~~^~~~~~~~~~~~~~
sequence.cpp:59:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&a[i]);
~~~~~^~~~~~~~~~~~~~~