Arcade.cpp: In function 'int main()':
Arcade.cpp:6:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define REP(i, s, e) for (int i = s; i < e; i++)
......
51 | REP (i, 1, arr.size()) {
| ~~~~~~~~~~~~~~~~
Arcade.cpp:51:2: note: in expansion of macro 'REP'
51 | REP (i, 1, arr.size()) {
| ^~~
Arcade.cpp:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
Arcade.cpp:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d", &ta[i].FI);
| ~~~~~^~~~~~~~~~~~~~~~~
Arcade.cpp:38:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | scanf("%d", &ta[i].SE);
| ~~~~~^~~~~~~~~~~~~~~~~