Runtime Error
foo.cc: In function 'int unite(int, int)': foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type] 26 | } | ^ foo.cc: In function 'bool cmp(Edge, Edge)': foo.cc:30:1: warning: control reaches end of non-void function [-Wreturn-type] 30 | } | ^
正在同步测试数据,请稍后 [Hydro](https://hydro.ac)提供评测服务