Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93512 | 胡海峰老师 | 破译邮件 | Python3 | Wrong Answer | 44 MS | 3772 KB | 272 | 2024-10-17 15:20:13 |
n = int(input()) for i in range(n): words = [] s = input().split("#") w = "" for ele in s: nums = ele.split("-") # 23-9-12-12 nums =[ chr(int(x)+64) for x in nums] words.append( ''.join(nums)) print(' '.join(words))
------Input------
10 1#2#3#4#5#6#7#8#9#10#11#12#13#14#15#16#17#18#19#20#21#22#23#24#25#26 11-26-4-5######12-2#17-18-19-20## #9-10-11##25#26#1#2#3-1-3-1# #################### 1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26 #####23-24-25-26#1#2#3#4#5#6-7-8-9-10########1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-6 ################26#################### ########1-2##3-4################# 2-24 3#23
------Answer-----
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z KZDE LB QRST IJK Y Z A B CACA ABCDEFGHIJKLMNOPQRSTUVWXYZ WXYZ A B C D E FGHIJ ABCDEFGHIJKLMNOPQRSTUF Z AB CD BX C W
------Your output-----
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z