From f72ab12d9e8cf936b576e59d670b6cc82897114c Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Thu, 3 Dec 2020 23:59:06 +0100 Subject: [PATCH] Bleep --- 02-1-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-1-1.py b/02-1-1.py index 9070502..aaebbca 100644 --- a/02-1-1.py +++ b/02-1-1.py @@ -1 +1 @@ -print(sum(int((s:=l[0].split('-'))[0])<=l[2].count(l[1][0])<=int(s[1]) for l in map(str.split,open("/dev/stdin")))) +print(sum(int((s:=a.split('-'))[0])<=c.count(b[0])<=int(s[1]) for a,b,c in map(str.split,open("/dev/stdin"))))