RSS
 

Posts Tagged ‘robo-santa’

Advent Of Code 2015: Day 3

04 Dec 2015
CTF: Advent Of Code 2015
Link to challenge: http://adventofcode.com
Date Completed: 03/12/2015

The Challenge

Solution

A rather interesting challenge. I wasn’t too happy with my solution but it works.
I split up parts 1 and parts 2 so the code can be read more easily.

Part 1 – Santa Solo Trip

Part 2 – Santa + Robo Santa

I didn’t like the use of the santasTurn boolean here too much but couldn’t think of a nicer way to complete the task (in the 15 minutes before I went to sleep!).

 
No Comments

Posted in Advent Of Code 2015