fangorn.cpp: In function 'std::complex<long double> rd()':
fangorn.cpp:7:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
7 | base rd(){int x,y;scanf("%i %i",&x,&y);return base(x,y);}
| ~~~~~^~~~~~~~~~~~~~~
fangorn.cpp: In function 'int main()':
fangorn.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%i %i",&h,&w);
| ~~~~~^~~~~~~~~~~~~~~
fangorn.cpp:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | scanf("%i",&m);
| ~~~~~^~~~~~~~~
fangorn.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%i",&n);
| ~~~~~^~~~~~~~~