soccer.cpp: In function 'int main()':
soccer.cpp:18:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
soccer.cpp:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%lld%lld%d", &H, &W, &A, &B, &C, &N);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
soccer.cpp:21:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=N; i++) scanf("%d%d", &S[i].x, &S[i].y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~