时间复杂度是错的,$O(n^2)$ 很难过 $50000$,建议换一种思路 by _caiji_ @ 2021-05-15 14:46:31
排序用sort直接能过。。。~~(貌似~~ by memory_cat @ 2021-11-07 19:25:02