2019-11-15: init
This commit is contained in:
9
zeta_python/completed/10809.py
Normal file
9
zeta_python/completed/10809.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from sys import *
|
||||
c=0
|
||||
D=[]
|
||||
I=[ord(i)-97 for i in stdin.readline().rstrip()]
|
||||
for i in range(26):
|
||||
try:D.append(I.index(i))
|
||||
except:D.append(-1)
|
||||
D=list(map(str,D))
|
||||
print(" ".join(D))
|
||||
Reference in New Issue
Block a user