clo.cpp: In function 'int main()':
clo.cpp:48:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
48 | scanf("%lld %lld %lld", &t[i].c, &t[i].f, &t[i].v);
| ~~~^ ~~~~~~~
| | |
| | int*
| long long int*
| %d
clo.cpp:48:24: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
48 | scanf("%lld %lld %lld", &t[i].c, &t[i].f, &t[i].v);
| ~~~^ ~~~~~~~
| | |
| long long int* int*
| %d
clo.cpp:48:29: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=]
48 | scanf("%lld %lld %lld", &t[i].c, &t[i].f, &t[i].v);
| ~~~^ ~~~~~~~
| | |
| long long int* int*
| %d
clo.cpp:55:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
55 | scanf("%lld %lld %lld", &d[i].c, &d[i].f, &d[i].v);
| ~~~^ ~~~~~~~
| | |
| | int*
| long long int*
| %d
clo.cpp:55:24: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
55 | scanf("%lld %lld %lld", &d[i].c, &d[i].f, &d[i].v);
| ~~~^ ~~~~~~~
| | |
| long long int* int*
| %d
clo.cpp:55:29: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=]
55 | scanf("%lld %lld %lld", &d[i].c, &d[i].f, &d[i].v);
| ~~~^ ~~~~~~~
| | |
| long long int* int*
| %d
clo.cpp:45:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | scanf("%lld", &m);
| ~~~~~^~~~~~~~~~~~
clo.cpp:48:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | scanf("%lld %lld %lld", &t[i].c, &t[i].f, &t[i].v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clo.cpp:52:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | scanf("%lld", &n);
| ~~~~~^~~~~~~~~~~~
clo.cpp:55:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | scanf("%lld %lld %lld", &d[i].c, &d[i].f, &d[i].v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~