fangorn.cpp: In function 'int main()':
fangorn.cpp:29:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lb0 == Ang.size()) lb0 = 0;
~~~~^~~~~~~~~~~~~
fangorn.cpp:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lb == Ang.size()) lb = 0;
~~~^~~~~~~~~~~~~
fangorn.cpp:12: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:14: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:15:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
fangorn.cpp:17: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]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~