foo.cc: In function 'void judge1()':
foo.cc:50:21: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.4lf",0);
^
foo.cc: In function 'int main()':
foo.cc:91:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("P1.in","r",stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:92:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("P1.out","w",stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务