art.cpp: In function 'int main()':
art.cpp:17:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
17 | scanf("%d", &n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
art.cpp:32:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
32 | printf("%d", cvp);
| ~^ ~~~
| | |
| int long long int
| %lld
art.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~