From 3e169f71e3d545d4ec3c44802888cefe2479b419 Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Fri, 4 Dec 2020 12:20:53 +0100 Subject: [PATCH] 455 --- 04-2-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-2-1.py b/04-2-1.py index 9c3e02d..882c506 100644 --- a/04-2-1.py +++ b/04-2-1.py @@ -1,2 +1,2 @@ -u=lambda x:6=0,'ec':lambda x:x in'ambblubrngrygrnhzloth','pi':lambda x:len(x)==9,'ci':lambda x:0}[y[:2]](y[4:]),x)) +u=lambda x:60,'ec':lambda x:x in'ambblubrngrygrnhzloth','pi':lambda x:len(x)==9,'ci':lambda x:0}[y[:2]](y[4:]),x)) print(sum(map(lambda x:u(x.split()),open("/dev/stdin").read().split("\n\n"))))