fangorn.cpp: In function 'int main()':
fangorn.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (LB[i].back() == Ang[j].size())
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
fangorn.cpp:19:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &W, &H, &X[0], &Y[0], &m);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fangorn.cpp:21:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &X[i], &Y[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
fangorn.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
fangorn.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &A[i], &B[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~