toll.cpp: In function 'int main()':
toll.cpp:82:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
82 | scanf("%d" "%d" "%d", &a, &b, &t);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
toll.cpp:82:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
82 | scanf("%d" "%d" "%d", &a, &b, &t);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
toll.cpp:82:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'LL*' {aka 'long long int*'} [-Wformat=]
82 | scanf("%d" "%d" "%d", &a, &b, &t);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
toll.cpp:90:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
90 | scanf("%d" "%d", &a, &b);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
toll.cpp:90:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
90 | scanf("%d" "%d", &a, &b);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
toll.cpp:82:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
82 | scanf("%d" "%d" "%d", &a, &b, &t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
toll.cpp:90:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
90 | scanf("%d" "%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~