15a
This commit is contained in:
parent
3e95018ebb
commit
133fc9a5f6
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from useful import *
|
||||
|
||||
def hush(s):
|
||||
return reduce(lambda a, b: (a+ord(b))*17%256, s, 0)
|
||||
|
||||
print(sum(hush(s) for s in open(0).read().strip().split(',')))
|
Loading…
Reference in New Issue