https://github.com/fbartho/advent-of-code-2024
My December 2024 submissions to AdventOfCode.com
https://github.com/fbartho/advent-of-code-2024
Last synced: 4 months ago
JSON representation
My December 2024 submissions to AdventOfCode.com
- Host: GitHub
- URL: https://github.com/fbartho/advent-of-code-2024
- Owner: fbartho
- Created: 2024-12-02T04:41:09.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T22:45:31.000Z (6 months ago)
- Last Synced: 2024-12-16T23:52:10.718Z (6 months ago)
- Language: Rust
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AdventOfCode 2024
[AdventOfCode.com](https://AdventOfCode.com) is a fun little yearly coding challenge. The problems start generally approachable, but were designed by people with twisty minds, and naive solutions can run into challenges. People can use this to learn a new programming language, or to flex their skills on their daily language. It's a fun way to form a community among developers.
Stack:
- Rust## Layout
- [`assignments/`](./assignments/) - the Puzzle Assignments from AdventOfCode.com
- [`input/`](./input/) - the data-file associated with each puzzle
- [`src/puzzle/`](./src/puzzle/) - the source code for any given puzzle
- [`src/prelude.rs`](./src/prelude.rs) - automatically import default types/crates into every puzzle
- [`src/main.rs`](./src/main.rs) [`src/lib.rs`](./src/lib.rs) - CLI Command & Subcommands
- [`src/puzzle.rs`](./src/puzzle.rs) - Type every daily puzzle conforms to## Usage
- `cargo run -- -d1 -p1 download`
- `cargo run -- -d1 -p1 puzzle`
- `RUST_LOG=info RUST_BACKTRACE=1 cargo watch -x "run -- -d1 -p1 puzzle"`
- `cargo run -- -d1 -p1 puzzle --submit`### Authentication
- Go to AdventOfCode, login to your account.
- Open DevTools, find the Storage->Cookies
- Find the `session` cookie, and copy its value
- `pbpaste > ~/.adventofcode.session`