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