aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromangraef <romangraef@loves.dicksinhisan.us>2018-12-04 23:15:31 +0100
committerromangraef <romangraef@loves.dicksinhisan.us>2018-12-04 23:15:31 +0100
commit28697e7a3bb6da16e9be331bf9576572468910d6 (patch)
tree8680d8761119779573f19f1262f32eab4a42a7c8
parent98f7a044ec89da308614d452de44e2bc0b231f57 (diff)
downloadaoc2018-28697e7a3bb6da16e9be331bf9576572468910d6.tar.gz
aoc2018-28697e7a3bb6da16e9be331bf9576572468910d6.tar.bz2
aoc2018-28697e7a3bb6da16e9be331bf9576572468910d6.zip
Oh my god am i a fucking idiot
So here is the story. I was wondering along all day and minding my own business. So after about 9 hours of school i went home and forgot to lock my bicycle, after all i wanted to use it ~1 hour later. Turned out someone thought it would be fun to steal my bicycle while I was less than 10 m away, and my mom was less than 2m away with an open window. So now i am sitting here, awake since ~5 p.m. Doing this and contamplating my life choices, when I notice that i forgot to indent a line. Honestly, sometimes I have a deep desire to burn down the entire world and, at the same time, feel so down I can't even get up to close my blinds. I think I'm gonna sleep now.
-rw-r--r--day4/solve.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/day4/solve.py b/day4/solve.py
index 3f9ea3b..fd3d02e 100644
--- a/day4/solve.py
+++ b/day4/solve.py
@@ -83,8 +83,7 @@ def find_sleepiest_minute_guard():
minute, value = find_sleepiest_minute(guard)
if value > currentmax:
currentmax = value
- print(value)
- gm, mm = guard, minute
+ gm, mm = guard, minute
return int(gm) * mm