/adventofcode2018

solutions of adventofcode 2018, written in rust

Examples of how to use adventofcode2018

This directory contains a number of examples showcasing the solutions of Advent Of Code 2018.

All solutions can be executed with:

cargo run --example $name

# e.g. 
cargo run --example day01
# you may have to put your input into ./input dir

# if you wanna make it run faster:
cargo run --example day01 --release

# measure execution time
time cargo run --example day01 --release

中文版解题思路