TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Advent of Code – solve a puzzle every day

201 pointsby xPawover 9 years ago

11 comments

tremendoover 9 years ago
Love this. I did the first couple of days within irb (Ruby REPL) before deciding to actually write scripts, seeing the second exercise for a given day builds on the first. Found it interesting there's a "Leader board" since well, there's no "points" to accumulate other than completing two puzzles per day, so whomever is listed there is just those 100 who came to see the puzzles first. So far they're not very hard, but still fun.
jschulenklopperover 9 years ago
26 points, but no discussion here... I guess many were lured into the challenges, trying to solve the currently available puzzles instead of commenting. #nerd-sniping
评论 #10681641 未加载
评论 #10682057 未加载
评论 #10681510 未加载
such_a_casualover 9 years ago
It's not acceptable to force the use of a twitter/github/google/reddit login.
评论 #10682778 未加载
评论 #10682713 未加载
评论 #10682736 未加载
kenrick95over 9 years ago
Nice site! I've completed till Day 5 and enjoyed the puzzles. I solved them mainly in JS on browser console, although for the Day 4 challenge I had to run it on node js so my browser won't hang; and also Day 2 challenge in C++ to take advantage of the scanf function in parsing the input.
volentover 9 years ago
The problems are fresh &amp; fun. I loved the day 4, almost felt like mining bitcoins :)<p>Looking forward for the next puzzles !
famousactressover 9 years ago
<i>&quot;The first character in the instructions has position 1, the second character has position 2&quot;</i><p>This project seems awesome but playful -1 for non-zero-based-indexing :)<p>[Edit:]<p>another note (obviously I&#x27;m hooked).. This instruction isn&#x27;t 100% parseable. It&#x27;s not clear whether the desire is for three unique vowels need to appear or if three positions in the string need to be vowels. For instance, would &#x27;aaa&#x27; qualify?<p>&quot;It contains at least three vowels (aeiou only), like aei, xazegov, or aeiouaeiouaeiou&quot;<p>[Edit Again: Nevermind... the test example &#x27;aaa&#x27; clears it up]
评论 #10681883 未加载
ant6nover 9 years ago
Which problem is solved by this (in Python)? ;-)<p><pre><code> try:input() except Exception as e: print e.offset</code></pre>
rhaps0dyover 9 years ago
Those are some happy little puzzles. Delightful!<p>I suppose the problems get harder the closer we are to christmas?
catwellover 9 years ago
I solved most of the 6 first days in Bash. I used Lua for days 4 and 6 for performance reasons (I have working solutions in Bash too, but they are way too slow).
Beltirasover 9 years ago
Lovely puzzles. Solved day 5 without resorting to regexes (which was kinda fun). Only gripe I have is that I can&#x27;t use requests to get at the data.
评论 #10682021 未加载
评论 #10722301 未加载
评论 #10682114 未加载
darkknight3141over 9 years ago
Nice ! Would be a good idea to throw in a some bitcoins as a treasure at some stage ...Or maybe there already is ?
评论 #10681611 未加载
评论 #10682066 未加载