foo.cc:5:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
foo.cc: In function 'int main()':
foo.cc:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(register int i=h;i<=h+maxv;i++) ans=min(ans,f[i]);return printf("%d\n",ans),0;
^~~
foo.cc:8:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(register int i=h;i<=h+maxv;i++) ans=min(ans,f[i]);return printf("%d\n",ans),0;
^~~~~~
自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-28T03:52:53.548Z","handle":"2020-02-28T03:52:53.548Z","cache_start":"2020-02-28T03:52:53.549Z","read_cases":"2020-02-28T03:52:53.723Z","judge":"2020-02-28T03:52:53.723Z","done":"2020-02-28T03:52:54.273Z"}