57 lines
1.7 KiB
Markdown
57 lines
1.7 KiB
Markdown
# Advent of Code
|
|
|
|
These are my solition for the problem descriptions on the http://adventofcode.com/
|
|
|
|
Of course, there could be better one
|
|
|
|
- better code
|
|
- less memory space used
|
|
- faster
|
|
|
|
## General notes
|
|
|
|
In each directory teher are mostly 2 scripts `part1.py` and `part2.py`. Teh second one is the copy
|
|
of the first one with modifications to fit the chnaged problem description.
|
|
|
|
### Input
|
|
There is in most cases file with name `input`. Yu can find tere the input data for the problem.
|
|
Any other file prefixed with `input` is my testing data.
|
|
|
|
For some solutions, the input is hardcoded in variable `input` in the code.
|
|
|
|
### Output
|
|
There are several output types
|
|
|
|
- **integer** - paste this into the input box, it's a result
|
|
- **bunch of lines* - you need to do sort/uniq/tail/head on this output
|
|
|
|
See README in each directory for more informations.
|
|
|
|
|
|
## Advent Days
|
|
|
|
- **Day 1**: Not Quite Lisp
|
|
- **Day 2**: I Was Told There Would Be No Math
|
|
- **Day 3**: Perfectly Spherical Houses in a Vacuum
|
|
- **Day 4**: The Ideal Stocking Stuffer
|
|
- **Day 5**: Doesn't He Have Intern-Elves For This?
|
|
- **Day 6**: Probably a Fire Hazard
|
|
- **Day 7**: Some Assembly Required
|
|
- **Day 8**: Matchsticks
|
|
- **Day 9**: All in a Single Night
|
|
- **Day 10**: Elves Look, Elves Say
|
|
- **Day 11**: Corporate Policy
|
|
- **Day 12**: JSAbacusFramework.io
|
|
- **Day 13**: Knights of the Dinner Table
|
|
- **Day 14**: Reindeer Olympics
|
|
- **Day 15**: Science for Hungry People
|
|
- **Day 16**: Aunt Sue
|
|
- **Day 17**: No Such Thing as Too Much
|
|
- **Day 18**: Like a GIF For Your Yard
|
|
- **Day 19**: Medicine for Rudolph
|
|
- **Day 20**: Infinite Elves and Infinite Houses
|
|
- **Day 21**: RPG Simulator 20XX
|
|
- **Day 22**: Wizard Simulator 20XX
|
|
- **Day 23**: Opening the Turing Lock
|
|
- **Day 24**:
|