Skip to content

stevechuck/adventofcode-2020-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020

Solutions to the exercises at https://adventofcode.com/2020/.

Initial setup

Log in to the AoC site with whatever method you prefer. Then use the browser's dev tools to inspect the cookies. You want the one called session. Configure this tool with it, so it can download the inputs for you.

cargo run -- config set --session YOUR_SESSION_KEY

Per-day setup

cargo run -- init

This will create a new sub-crate and add it to the workspace, as well as downloading the problem's input. Inputs are saved to a canonical directory. The sub-crate will be named for the day in question, so it can then be run like

cargo run -p day01 -- --part2

About

Advent of Code 2020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages