ho_t1.cpp: In function 'int main()':
ho_t1.cpp:8:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
ho_t1.cpp:11:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d",&a[i].first);
| ~~~~~^~~~~~~~~~~~~~~~~~
ho_t1.cpp:16:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d",&b[i]);
| ~~~~~^~~~~~~~~~~~