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