foo.cc: In function 'int main()':
foo.cc:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unhappy.in","r",stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:11:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unhappy.out","w",stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务