摘要: Hashing The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input n 阅读全文
posted @ 2017-12-31 22:23 A-Little-Nut 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 电话聊天狂人 给定大量手机用户通话记录,找出其中通话次数最多的聊天狂人。 输入格式: 输入首先给出正整数N(≤10^5)​​,为通话记录条数。随后N行,每行给出一条通话记录。简单起见,这里只列出拨出方和接收方的11位数字构成的手机号码,其中以空格分隔。 输出格式: 在一行中给出聊天狂人的手机号码及其 阅读全文
posted @ 2017-12-31 20:19 A-Little-Nut 阅读(301) 评论(0) 推荐(0) 编辑