从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
在 compare 方法里,不能直接使用 a[1] - b[1],因为可能会溢出,目前这种写法在 leetcode 已经不能通过了