Update README and references

This commit is contained in:
2022-11-24 08:23:58 +01:00
parent af0897300d
commit 4a55e53182
3 changed files with 23 additions and 2 deletions

20
2022/README.md Normal file
View 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
```

View File

@@ -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

View File

@@ -1,6 +1,6 @@
# Advent of Code # Advent of Code
[![Advent of Code 2021](https://github.com/bertptrs/adventofcode/actions/workflows/2021.yml/badge.svg)](https://github.com/bertptrs/adventofcode/actions/workflows/2021.yml) [![Advent of Code 2021](https://github.com/bertptrs/adventofcode/actions/workflows/2022.yml/badge.svg)](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)