bomb.cpp: In function 'int main()':
bomb.cpp:12:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
12 | freopen("bomb.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
bomb.cpp:13:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
13 | freopen("bomb.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bomb.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
bomb.cpp:17:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf(" %c", &s[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~