测试案例在我的IDE上能过但是提交就过不了,感觉逻辑上也没问题啊
P1765 手机
str_ = input()
count = 0
str1 = "adgjmptw "
str2 = 'behknqux'
str3 = 'cfilorvy'
str4 = 'sz'
for i in str_:
if i in str1:
count += 1
elif i in str2:
count += 2
elif i in str3:
count += 3
else:
count += 4
print(count)