jump to content
my subreddits
announcementsArtAskRedditaskscienceawwblogbookscreepydataisbeautifulDIYDocumentariesEarthPornexplainlikeimfivefoodfunnyFuturologygadgetsgamingGetMotivatedgifshistoryIAmAInternetIsBeautifulJokesLifeProTipslistentothismildlyinterestingmoviesMusicnewsnosleepnottheonionOldSchoolCoolpersonalfinancephilosophyphotoshopbattlespicsscienceShowerthoughtsspacesportstelevisiontifutodayilearnedTwoXChromosomesUpliftingNewsvideosworldnewsWritingPromptsedit subscriptions
  • front
  • -all
  • -random
 | 
  • AskReddit
  • -worldnews
  • -funny
  • -gaming
  • -videos
  • -todayilearned
  • -pics
  • -gifs
  • -news
  • -aww
  • -IAmA
  • -movies
  • -mildlyinteresting
  • -nottheonion
  • -Jokes
  • -Showerthoughts
  • -TwoXChromosomes
  • -television
  • -tifu
  • -OldSchoolCool
  • -sports
  • -LifeProTips
  • -personalfinance
  • -space
  • -Futurology
  • -food
  • -Art
  • -EarthPorn
  • -photoshopbattles
  • -science
  • -dataisbeautiful
  • -explainlikeimfive
  • -nosleep
  • -DIY
  • -Music
  • -GetMotivated
  • -history
  • -askscience
  • -creepy
  • -gadgets
  • -WritingPrompts
  • -books
  • -Documentaries
  • -UpliftingNews
  • -listentothis
  • -philosophy
  • -InternetIsBeautiful
  • -announcements
  • -blog
more »
adventofcode adventofcode
  • hot
  • new
  • rising
  • controversial
  • top
  • gilded
  • wiki
  • promoted
Want to join? Log in or sign up in seconds.|
  • English

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

reset password
Submit a new link
Submit a new text post

adventofcode

subscribeunsubscribe2,148 readers

~2 users here now

Advent of Code

Advent of Code is a series of small programming puzzles for a variety of skill levels. They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

  • Advent of Code
  • AoC/About

🎄 AoC 2016 🎄 [ Day 25: Dec 25 = Oct 31 IS MANDATORY ] [?]

FAQ

How should I format my post?

Follow the posting guidelines listed on the new post screen so your post is properly tagged and/or flair'd. If it is not, Santa will be leaving coal in your stocking.

What can I post here?

  • Your code, in full or snippets
  • Your Github repository for AoC solutions
  • Questions how to solve a particularly trying puzzle
    • Please post whatever code you've tried first, if any
  • Blog posts and news articles about AoC

How do I format code?

Use reddit's Markdown syntax. Inline code can be surrounded with `backticks` or entire code blocks posted with four (or more) spaces to start each line.

public static void main() {
    # just like this!
}

Posting Guidelines

  • Follow both Wheaton's Law and redditquette.
  • If you have a giant block of code, consider linking to a Github account or a Pastebin instead.

Solution Megathreads

December 2016

Su M T W R F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
See previous years: 2015

Quick Search by Flair

Because you're lazy and we like making things easy for you. Except AoC.
  • Help
  • Spoilers
  • Visualization
  • Tutorial
  • Live
  • Upping the Ante
  • Solution Megathread

Are you enjoying AoC?

Code should be fun, because otherwise it's just a job. If you'd like to support Advent of Code, please share it with all your friends, even the ones that are just learning to code! AoC is a fun, non-threatening way to work at your own pace to figure out how to apply problem-solving first, then work within a language's constraints.

If you really want to show your appreciation, donations are always appreciated. Any instances of currency will go to, in no particular order:

  • Server maintenance (hosting, bandwidth, etc.)
  • Bribes to Santa
  • Beer and sushi
  • Paper bags for /u/topaz2078 to breathe into so he doesn't hyperventilate onto another plane of (non-)existence

Support AoC

Thank you very much, and enjoy your month of code!

created by taliriktuga community for 1 year
message the moderators

MODERATORS

  • topaz2078(AoC creator)
  • daggerdragon
  • Aneurysm9
  • about moderation team »

subscribe to our newsletter

_('thanks for subscribing')

get the best of reddit, delivered once a week


×

10
11
12

SOLUTION MEGATHREAD~☆~☆~ 2016 Day 25 Solutions ~☆~☆~ (self.adventofcode)

submitted 23 days ago * by daggerdragon[M] - announcement

  • 45 comments
  • share
loading...

111
112
113

Thank you for participating in Advent of Code 2016! (self.adventofcode)

submitted 23 days ago by topaz2078(AoC creator)[M] - announcement

  • 56 comments
  • share
loading...

1
0
1
2

Need small clarification for day11 (self.adventofcode)

submitted 5 hours ago by ikkuhh

  • comment
  • share
loading...

2
0
1
2

advent of code 2015 day1 (self.adventofcode)

submitted 17 hours ago by CaptainMoeSoccer

  • 1 comment
  • share
loading...

3
0
1
2

HelpHelp With Day 11 (self.adventofcode)

submitted 2 days ago * by andrehsu

  • 2 comments
  • share
loading...

4
12
13
14

Any other challenges like advent of code? (self.adventofcode)

submitted 3 days ago by nononopotato

  • 5 comments
  • share
loading...

5
0
0
1

Helpproblem in day 1 problem c++ (self.adventofcode)

submitted 5 days ago by rafaelleru

  • 5 comments
  • share
loading...

6
0
1
2

HelpHELP! In Excel! Day 23p1 (self.adventofcode)

submitted 6 days ago by that_lego_guy

  • 4 comments
  • share
loading...

7
3
4
5

Upping the Ante[2016 day 23] JIT compiler (handles tgl by re-entering JIT). (github.com)

submitted 7 days ago by alokmenghrajani

  • 2 comments
  • share
loading...

8
0
0
1

Spoilers[2016 Day 14 Part 2][F#] some parallelizing and perf measurements (barncover.blogspot.com)

submitted 8 days ago by knutaf

  • comment
  • share
loading...

9
0
0
1

Help[2016 Day 7 (Part 1)] I think I'm right, but answer not accepted (self.adventofcode)

submitted 8 days ago by Janjis

  • 2 comments
  • share
loading...

10
2
3
4

RepoAssembunny-plus (self.adventofcode)

submitted 10 days ago * by broadwall

  • 7 comments
  • share
loading...

11
0
1
2

Upping the AnteDid someone say...EXCEL? Day 15[P1&2] (self.adventofcode)

submitted 10 days ago by that_lego_guy

  • comment
  • share
loading...

12
1
2
3

Upping the AnteDid someone say..Excel? [Day 13] (self.adventofcode)

submitted 11 days ago by that_lego_guy

  • comment
  • share
loading...

13
2
3
4

The 2016 SANS Holiday Hack Challenge - Some other 🎅 challenges you might like. (holidayhackchallenge.com)

submitted 11 days ago by SanSnu

  • comment
  • share
loading...

14
3
4
5

HelpHELP? In Excel! Day 13p1 (self.adventofcode)

submitted 12 days ago by that_lego_guy

  • 4 comments
  • share
loading...

15
2
3
4

Help[2016 Day 14 part 2][Java] KILL ME NOW (self.adventofcode)

submitted 12 days ago by eidolonkami

  • 2 comments
  • share
loading...

16
0
1
2

Help[2016 Day 9 (Part 1)] - Need pussle input / output (self.adventofcode)

submitted 13 days ago by Joshen74

  • 3 comments
  • share
loading...

17
2
3
4

VisualizationDid someone say...EXCEL?! Day 24 [P1&2] (self.adventofcode)

submitted 13 days ago by that_lego_guy

  • comment
  • share
loading...

18
2
3
4

What were your hardest and easiest AoC challenges in the last two years? (self.adventofcode)

submitted 14 days ago by jwoLondon

  • 4 comments
  • share
loading...

19
0
1
2

Help[2016 Day 6 (Part 1)] [Java] Test case returns the correct answer, but puzzle input fails (self.adventofcode)

submitted 15 days ago by hagamablabla

  • 7 comments
  • share
loading...

20
11
12
13

Visualizationi gots the plots (i.redd.it)

submitted 16 days ago by blockingthesky

  • 4 comments
  • share
loading...

21
5
6
7

Repo[repo][2016][rust] Advent of Code 2016 full solutions in Rust (self.adventofcode)

submitted 16 days ago by po8

  • 2 comments
  • share
loading...

22
4
5
6

Alternate or full leaderboards? (self.adventofcode)

submitted 17 days ago by Godspiral

  • 1 comment
  • share
loading...

23
1
2
3

Help[2016 Day 4 (Part 2)] Can someone please check my input has a correct answer in it?? (self.adventofcode)

submitted 18 days ago by sandwichandsandwich

  • 5 comments
  • share
loading...

24
4
5
6

Advent of Rust (karjonas.github.io)

submitted 18 days ago by karjonas

  • 4 comments
  • share
loading...

25
5
6
7

I hate Day 11 (self.adventofcode)

submitted 19 days ago * by raevnos

  • 10 comments
  • share
loading...
view more: next ›
  • about
  • blog
  • about
  • source code
  • advertise
  • jobs
  • help
  • site rules
  • FAQ
  • wiki
  • reddiquette
  • transparency
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • buttons
  • <3
  • reddit gold
  • redditgifts

Use of this site constitutes acceptance of our User Agreement and Privacy Policy (updated). © 2017 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 29071 on app-57 at 2017-01-17 14:57:28.833671+00:00 running d815524 country code: IL.