ho_t1.cpp: In function 'int main()':
ho_t1.cpp:9:11: warning: unused variable 'poz' [-Wunused-variable]
{ int n,i,poz;
^~~
ho_t1.cpp:10:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
ho_t1.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].first);
~~~~~^~~~~~~~~~~~~~~~~~
ho_t1.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) scanf("%d",&b[i]);
~~~~~^~~~~~~~~~~~