Main.cpp: In function 'int main()':
Main.cpp:17:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'std::tuple_element<0, std::pair<long long int, long long int> >::type*' {aka 'long long int*'} [-Wformat=]
17 | for (auto &[x, y]: c) scanf("%d %d", &x, &y);
| ~^ ~~
| | |
| int* std::tuple_element<0, std::pair<long long int, long long int> >::type* {aka long long int*}
| %lld
Main.cpp:17:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'std::tuple_element<1, std::pair<long long int, long long int> >::type*' {aka 'long long int*'} [-Wformat=]
17 | for (auto &[x, y]: c) scanf("%d %d", &x, &y);
| ~^ ~~
| | |
| int* std::tuple_element<1, std::pair<long long int, long long int> >::type* {aka long long int*}
| %lld
Main.cpp:53:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
53 | for (auto &e: cq) scanf("%d", &e);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
Main.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d %d %d", &n, &m, &q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:17:32: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | for (auto &[x, y]: c) scanf("%d %d", &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~~
Main.cpp:53:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | for (auto &e: cq) scanf("%d", &e);
| ~~~~~^~~~~~~~~~