cipele.cpp: In function 'bool Solve(int)':
cipele.cpp:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A.size(); i++)
~~^~~~~~~~~~
cipele.cpp:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r >= B.size())
~~^~~~~~~~~~~
cipele.cpp:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (r < B.size() && B[r] <= A[i] && A[i] - B[r] > md)
~~^~~~~~~~~~
cipele.cpp:14:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r >= B.size() || abs(A[i] - B[r]) > md)
~~^~~~~~~~~~~
cipele.cpp: In function 'int main()':
cipele.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~
cipele.cpp:25:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
~~~~~^~~~~~~~~~~~~
cipele.cpp:27:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i]);
~~~~~^~~~~~~~~~~~~