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