fangorn.cpp:5:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning (disable: 4996)
fangorn.cpp: In function 'int main()':
fangorn.cpp:56:63: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for (int i = 1; i <= N; i++) scanf("%d%d", &G[i].px, &G[i].py);
~~~~~~~~ ^
fangorn.cpp:56:63: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fangorn.cpp:77:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < res.size(); i++) { if (i) printf(" "); printf("%d", res[i]); }
~~^~~~~~~~~~~~
fangorn.cpp:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &H, &W, &sx, &sy, &C);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fangorn.cpp:54:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= C; i++) scanf("%d%d", &ex[i], &ey[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
fangorn.cpp:55:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
~~~~~^~~~~~~~~~
fangorn.cpp:56:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= N; i++) scanf("%d%d", &G[i].px, &G[i].py);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~