joi2019_ho_t2.cpp: In function 'int main()':
joi2019_ho_t2.cpp:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for(int i=0;i<m;i++)
| ^~~
joi2019_ho_t2.cpp:29:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
29 | sort(a,a+n);sort(b,b+m);
| ^~~~
joi2019_ho_t2.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
joi2019_ho_t2.cpp:26:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d%d",&a[i].ss,&a[i].ff);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
joi2019_ho_t2.cpp:28:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d",b+i);
| ~~~~~^~~~~~~~~~