Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71251 胡海峰老师 11加密规则 Python3 Wrong Answer 31 MS 3776 KB 299 2024-04-21 15:06:18

Tests(0/10):


Code:

six = input() a,b,c,d,e,f = int(six[0]),int(six[1]),int(six[2]),int(six[3]),int(six[4]),int(six[5]), c = (a+b+c)%10 f = sum( [a,b,c,d,e,f])%10 a = chr( a + 65 ) if b % 2 == 0: b = b//2 e = ( e + ord('l') + ord('e') )//10 %10 print("{}{}{}{}{}{}".format(a,b,c,d,e,f))


Run Info:

------Input------
115209
------Answer-----
B17208
------Your output-----
B17200