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"))))