squirrel2300

导航

2018年5月17日 #

Pythonic

摘要: arr = [char for char, count in Counter(S).most_common() for _ in range(count)]alen = len(arr)half_len = (alen >> 1) + 1 if alen&1 else (alen >> 1)res 阅读全文

posted @ 2018-05-17 10:48 squirrel2300 阅读(114) 评论(0) 推荐(0) 编辑