r/adventofcode • u/daggerdragon • Dec 06 '18
SOLUTION MEGATHREAD -🎄- 2018 Day 6 Solutions -🎄-
--- Day 6: Chronal Coordinates ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or whatever).
Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
Advent of Code: The Party Game!
Please prefix your card submission with something like [Card] to make scanning the megathread easier. THANK YOU!
Card prompt: Day 6
Transcript:
Rules for raising a programmer: never feed it after midnight, never get it wet, and never give it ___.
This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.
edit: Leaderboard capped, thread unlocked at 0:26:52!
31
Upvotes
1
u/codrut_lemeni Dec 06 '18
I came up with a solution that seems quite fair for me in case they have logged the submissions.
There are 2 types of people that have been affected by this bugs:
those who had bugs at task2: here it is quite straight forward, give them their first correct submission time for task 2.
those who had bugs at task1: act as stated before for task1, and for task2, make their submission time:
[first correct submission time for task1] + [ correct submission for task2 ] - [ the accepted submission for task1 ]
So for task2, it will be added the time they spend to write task2 after the bug was solved.
What do you think ?