advent-of-code

advent of code (partial solutions)
Log | Files | Refs | README

commit ef5b714259c2819e7ddaf599a60c94b1104c4497
parent 8eb698e5e2e6a0b9023c47087483b2521980bafa
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu,  2 Dec 2021 20:54:46 -0800

cleanup

Diffstat:
M2021/README | 4+---
M2021/aoc02.py | 4++--
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/2021/README b/2021/README @@ -1,8 +1,6 @@ alexandria ocasio-cortez 2021 -rust - -each solution in a single file, no external dependencies +a number of different languages each solution contains both days and reads the input from stdin and outputs: diff --git a/2021/aoc02.py b/2021/aoc02.py @@ -19,6 +19,6 @@ for line in lines: if d == "down": d1 += count aim += count -print(x * d1) -print(x * d2) +print("part 1", x * d1) +print("part 2", x * d2)