https://github.com/phansch/aoc
Solutions for Advent of Code
https://github.com/phansch/aoc
Last synced: 8 months ago
JSON representation
Solutions for Advent of Code
- Host: GitHub
- URL: https://github.com/phansch/aoc
- Owner: phansch
- Created: 2017-12-03T10:27:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-07T07:00:57.000Z (over 8 years ago)
- Last Synced: 2024-12-27T17:16:28.609Z (over 1 year ago)
- Language: Rust
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of code
Solutions for https://adventofcode.com
### new_day script
Start a new day by running `. ./new_day N` where N is the number of the challenge.
That script automates a bunch of stuff, because my time is limited:
1. Sets up a new rust binary project in the `dayN` directory
2. Downloads the input for the first part of the challenge into the root of that project
3. Copies over the `main.rs` from the template file
4. `cd`s into the project and opens up the `main.rs` in vim.
Note that day1 and day2 don't contain both solutions because they weren't tracked in git at the time.