numbers.cpp: In function 'int main()':
numbers.cpp:53:14: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
53 | scanf("%d%d", &a, &b);
| ~^ ~~
| | |
| int* long long int*
| %lld
numbers.cpp:53:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
53 | scanf("%d%d", &a, &b);
| ~^ ~~
| | |
| int* long long int*
| %lld
numbers.cpp:58:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
58 | printf("%d", cnt);
| ~^ ~~~
| | |
| int long long int
| %lld
numbers.cpp:53:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~