foo.cc:9:28: error: ISO C++ forbids declaration of 'operator<' with no type [-fpermissive]
operator <(const node1& t)const{
^~~~~
foo.cc:16:28: error: ISO C++ forbids declaration of 'operator<' with no type [-fpermissive]
operator <(const node2& t)const{
^~~~~
foo.cc: In function 'void solve()':
foo.cc:31:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&k[i]);
~~~~~^~~~~~~~~~~~~~
foo.cc:36:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&h);
~~~~~^~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。