foo.cc: In function 'int main()':
foo.cc:25:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if(dis>0)
^
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&h);
~~~~~^~~~~~~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x[i].a,&x[i].b,&x[i].c);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。