This commit is contained in:
Sebastian Seedorf
2022-12-02 12:01:20 +01:00
parent ad69b9741f
commit 54a60fcb7d
5 changed files with 2537 additions and 0 deletions

2
day02/part1.min.py Normal file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env python3
print(sum(ord(x)-87+(ord(x)-ord(a)-1)%3*3 for a,_,x,_ in open("input.txt")))