fangorn.cpp: In function 'int main()':
fangorn.cpp:31:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | scanf("%d %d", &W, &H);
| ~~~~~^~~~~~~~~~~~~~~~~
fangorn.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | int sx, sy; scanf("%d %d", &sx, &sy);
| ~~~~~^~~~~~~~~~~~~~~~~~~
fangorn.cpp:33:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | int c; scanf("%d", &c);
| ~~~~~^~~~~~~~~~
fangorn.cpp:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d %d", &x, &y), camps[i] = Pt(x, y);
| ~~~~~^~~~~~~~~~~~~~~~~
fangorn.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | int n; scanf("%d", &n);
| ~~~~~^~~~~~~~~~
fangorn.cpp:38:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | int x, y; scanf("%d %d", &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~~