ho_t1.cpp: In function 'int main()':
ho_t1.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%d", &N);
| ~~~~~^~~~~~~~~~
ho_t1.cpp:19:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | for(int i=1; i<=N+1; i++) scanf("%d", &A[i].first), A[i].second=i;
| ~~~~~^~~~~~~~~~~~~~~~~~~
ho_t1.cpp:20:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | for(int i=1; i<=N; i++) scanf("%d", &B[i]);
| ~~~~~^~~~~~~~~~~~~