5842. Polybius square Problem code: POLYBIUS
for j in[0]*input():
for c in raw_input():
if c!=' ':a=ord(c)-65-(c>'I');print a/5*10+a%5+11,
print
Read more...
for j in[0]*input():
for c in raw_input():
if c!=' ':a=ord(c)-65-(c>'I');print a/5*10+a%5+11,
Read more...
No comments:
Post a Comment