subsequence.c: In function 'main':
subsequence.c:12:27: warning: format '%lld' expects argument of type 'long long int *', but argument 2 has type 'll *' {aka 'int *'} [-Wformat=]
12 | scanf("%lld",&n);
| ~~~^ ~~
| | |
| | ll * {aka int *}
| long long int *
| %d
subsequence.c:16:35: warning: format '%lld' expects argument of type 'long long int *', but argument 2 has type 'll *' {aka 'int *'} [-Wformat=]
16 | scanf("%lld",&a[i]);
| ~~~^ ~~~~~
| | |
| | ll * {aka int *}
| long long int *
| %d
subsequence.c:20:35: warning: format '%lld' expects argument of type 'long long int *', but argument 2 has type 'll *' {aka 'int *'} [-Wformat=]
20 | scanf("%lld",&b[i]);
| ~~~^ ~~~~~
| | |
| | ll * {aka int *}
| long long int *
| %d
subsequence.c:66:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'll' {aka 'int'} [-Wformat=]
66 | printf("%lld\n",val);
| ~~~^ ~~~
| | |
| | ll {aka int}
| long long int
| %d
subsequence.c:69:36: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'll' {aka 'int'} [-Wformat=]
69 | printf("%lld ",ans[i]);
| ~~~^ ~~~~~~
| | |
| | ll {aka int}
| long long int
| %d
subsequence.c:12:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%lld",&n);
| ^~~~~~~~~~~~~~~~
subsequence.c:16:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%lld",&a[i]);
| ^~~~~~~~~~~~~~~~~~~
subsequence.c:20:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | scanf("%lld",&b[i]);
| ^~~~~~~~~~~~~~~~~~~