Skip to content

dmoralestech/adventofcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project contains solutions for Advent of Code.

The difficulty of these puzzles is much less than Online Judge problems'. Even you can calculate the answer by an pencil and paper. Test cases are very simple and examples include nearly every thing that you need care about.

And the author provides a very interesting website!

ps.

  • Remeber to call parseInt when parsing the input by regular expressions.
  • Do not try to find answers by binary search. The server will reject your submission after you have failed too much times.
  • Several puzzles are solved by brute force searching, like:
    • 2015: day 9/13/14/15/19/20/21/22/24.

How to run

  • [YEAR=2015] node index.js <day> [part] < input.txt, by default, part is 1.

About

Solutions for Advent of Code

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%