Remove space

This commit is contained in:
Lynn Ochs 2020-12-04 20:39:18 +01:00
parent 43deb91a60
commit 0442a95edb

View File

@ -1,4 +1,4 @@
def f(d,e,f): def f(d,e,f):
a,b=*map(int,d.split('-')) a,b=*map(int,d.split('-'))
return (f[a-1]==e[0])^(f[b-1]==e[0]) return (f[a-1]==e[0])^(f[b-1]==e[0])
print(sum(f(*x.split()) for x in open(0))) print(sum(f(*x.split())for x in open(0)))