mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Update README and references
This commit is contained in:
20
2022/README.md
Normal file
20
2022/README.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Advent of Code 2022
|
||||||
|
|
||||||
|
Another year and another Advent of Code in Rust. Because last year went so well, this time we'll be
|
||||||
|
aiming for a total time of under 250ms.
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ target/release/aoc_2022 --help
|
||||||
|
Advent of Code 2022 runner
|
||||||
|
|
||||||
|
Usage: aoc_2022 [OPTIONS] <DAY>
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
<DAY> Which day to run
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-t, --time Print time taken
|
||||||
|
-2, --part2 Run part 2 instead of part 1
|
||||||
|
-i, --input <INPUT> Read input from the given file instead of stdin
|
||||||
|
-h, --help Print help information
|
||||||
|
```
|
||||||
@@ -9,7 +9,7 @@ use clap::Parser;
|
|||||||
|
|
||||||
use aoc_2022::get_implementation;
|
use aoc_2022::get_implementation;
|
||||||
|
|
||||||
/// Advent of Code 2021 runner
|
/// Advent of Code 2022 runner
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
struct Opts {
|
struct Opts {
|
||||||
/// Which day to run
|
/// Which day to run
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Advent of Code
|
# Advent of Code
|
||||||
|
|
||||||
[](https://github.com/bertptrs/adventofcode/actions/workflows/2021.yml)
|
[](https://github.com/bertptrs/adventofcode/actions/workflows/2022.yml)
|
||||||
|
|
||||||
This repository contains my solutions for Advent of Code. See:
|
This repository contains my solutions for Advent of Code. See:
|
||||||
|
|
||||||
@@ -11,3 +11,4 @@ This repository contains my solutions for Advent of Code. See:
|
|||||||
- [2019 edition](./2019)
|
- [2019 edition](./2019)
|
||||||
- [2020 edition](./2020)
|
- [2020 edition](./2020)
|
||||||
- [2021 edition](./2021)
|
- [2021 edition](./2021)
|
||||||
|
- [2022 edition](./2022)
|
||||||
|
|||||||
Reference in New Issue
Block a user