Master_Hash @ 2020-02-05 14:19:20
rt
by Master_Hash @ 2020-02-05 14:34:28
@SmallPillow 有道理
by hht2005 @ 2020-02-05 14:39:43
手 写 红 黑 树
by FZzzz @ 2020-02-05 15:06:01
@SfumatoCannon_ 道理我都懂,这是洛谷,做算法题的
by Master_Hash @ 2020-02-05 16:49:37
已经查到了,用 operator.itemgetter 或者 operator.attrgetter 作 key,详见 https://docs.python.org/zh-cn/3.8/howto/sorting.html#sortinghowto 此帖终结