rab / adventofcode2016

Solutions for the 2016 edition of the Advent of Code - http://adventofcode.com/2016

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2016

Solutions for the 2016 edition of the Advent of Code - http://adventofcode.com/2016

Back again for another year, the little Advent of Code site that has a new pair of problems to solve each new day (i.e., midnight Eastern time) and this repository holds my solutions using ruby

There are a few files that help with the mechanics of the challenge itself. The value for the session cookie from teh site is stored in the ./.session file. The day_prep.rb retrieves the challenge description and builds the initial solution file using the day_template.rb. The input for the day's challenge is retrieved (and cached!) using code from the module defined in input.rb.

My solutions for the original 2015 installment of the Advent of Code is in the repo: rab/adventofcode2015

My Personal Leaderboard stats:

      --Part 1---   --Part 2---
Day   Rank  Score   Rank  Score
 16   1415      0   1298      0
 15   1274      0   1260      0
 14   1339      0   1183      0
 13   1479      0   1363      0
 12   1841      0   1813      0
 11
 10   3092      0   3040      0
  9    387      0    193      0  A couple of off-by-one errors slowed me down
  8   2224      0   2177      0
  7    210      0    330      0  This one really gave me trouble. 3rd answer for * and 2nd for **
  6    294      0    271      0
  5   2658      0   2387      0
  4     99      2     73     28
  3     60     41     63     38
  2   3537      0   2997      0
  1   6753      0   5003      0

Here are some of the participants using Ruby from the Cincinnati Ruby Brigade or who I noticed on the Leaderboard:

Or just search Github for more with: Advent of Code created:>2016-10-01 language:Ruby

About

Solutions for the 2016 edition of the Advent of Code - http://adventofcode.com/2016

License:MIT License


Languages

Language:Ruby 100.0%