foo.cc: In function 'int read()':
foo.cc:18:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
^~~~~
foo.cc:18:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
^
foo.cc: In function 'int main()':
foo.cc:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&s);
~~~~~^~~~~~~~~~
foo.cc:58:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&z);
~~~~~^~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-16T00:27:09.535Z","handle":"2020-07-16T00:27:09.535Z","cache_start":"2020-07-16T00:27:09.541Z","read_cases":"2020-07-16T00:27:15.099Z","judge":"2020-07-16T00:27:15.099Z","done":"2020-07-16T00:27:16.714Z"}