fangorn.cpp: In function 'int main()':
fangorn.cpp:37:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (LB0.back() == Ang[j].size())
~~~~~~~~~~~^~~~~~~~~~~~~~~~
fangorn.cpp:47:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (LB.back() == Ang[j].size())
~~~~~~~~~~^~~~~~~~~~~~~~~~
fangorn.cpp:18: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:20: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:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
fangorn.cpp:23: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]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~