Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into main
  • Loading branch information
janetschel committed Dec 9, 2020
2 parents d94964f d04918c commit 857852b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 2,15 @@
Advent of Code 2020 in golang

These are by no means good or fast solutions, just my personal repo to keep tracks of this years progress
Please no Intcode..... *(doesn't look like it yet :))))))))*
Please no Intcode..... ~~*(doesn't look like it yet :))))))))*~~ Update: well kinda... but it's okay so far.

For python solutions check [Logxn/Advent-of-Code-2020](https://github.com/Logxn/Advent-of-Code-2020)

## Makefile
Use `make new` in the terminal to automatically create a new folder with the important files for the day.
These files are copied from the static-template folder. If you want to make any changes to the blueprint, do it there.


## Usage for fetch utils
Keep in mind that these fetch utils **do not** request the input **again** if the input file already exists.
It will just use the existing file without making any HTTP requests, so we don't spam the API of https://adventofcode.com/
Expand Down
3 changes: 2 additions & 1 deletion calendar/day-09/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,8 @@

For this problem we need to break some rudimentary encryption... it really does seem like [we're the bad guys](https://www.reddit.com/r/adventofcode/comments/k9481t/2020_day_8_are_we_the_bad_guys/).

After that, each number you receive should be the sum of any two of the 25 immediately previous numbers. The two numbers will have different values, and there might be more than one such pair.
For this problem, *preamble* amount of numbers (in our case `25`) are transmitted at the start.
After that, each number you receive should be the sum of any two of the `25` immediately previous numbers. The two numbers will have different values, and there might be more than one such pair.

Suppose following input list with a *preamble* of `5`:
```
Expand Down

0 comments on commit 857852b

Please sign in to comment.