题解 | #简单错误记录#
简单错误记录
http://www.nowcoder.com/practice/2baa6aba39214d6ea91a2e03dff3fbeb
dic = {}
while True:
try:
s = input().split('\\')[-1]
s = s.split()[0][-16:] + ' ' + s.split()[1]
dic[s] = dic.get(s, 0) + 1
except:
break
for i in list(dic.keys())[-8:]:
print(i, end=' ')
print(dic[i])