art.cpp: In function 'int main()':
art.cpp:27:13: warning: variable 'ind' set but not used [-Wunused-but-set-variable]
27 | int ind;
| ^~~
art.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
art.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%lld", &v[i].first);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
art.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | scanf("%lld", &v[i].second);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~