``` # -*- coding: utf-8 -* result = [] result1=[] result2=[] result3=[] while True: a=raw_input() if a =='END': set = set(result1) for i in set: if result1.count(i) == 1: result2.append(i) # 转换且为1的数 for i in result2: result3.append(result[result1.index(i)]) for i in result3: print i break b=a.split('#') result1.append(int(b[1],int(b[0]))) #转换 result.append(a) #未转化 # 10#15 # 4#32 # 4#33 # 8#17 # END ```
点赞 评论

相关推荐

ddd7_:跟我一模一样,加微信的hr都同一个,扫码了白年书人查看图片
点赞 评论 收藏
分享
不知道怎么取名字_:两个方向 1.简历针对性准备下 2.面试前也需要准备的 主要还是要看各个公司需求,看公司行业和岗位描述,那里面已经写了对技术的需求,一份简历,不可能和所有嵌入式岗位都匹配的
投递北京经纬恒润科技股份有限公司等公司6个岗位
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务