第十行改成:
`if(x.energy<y.energy) return true;`
要不然一旦有重复数字就爆了
by Anguei @ 2018-08-27 19:46:34
@[lingxiaoyu](/space/show?uid=93851)
by Anguei @ 2018-08-27 19:46:55
@[yyfcpp](/space/show?uid=53062) 谢谢
by 小罐猹 @ 2018-08-28 12:57:01
@[yyfcpp](/space/show?uid=53062) 已经过了,谢谢大佬
by 小罐猹 @ 2018-08-28 12:59:49
@[Anguei](/space/show?uid=53062) 为什么会爆哇。求解答
by Victorss @ 2019-03-31 11:54:28