Skip to content

Commit 68aa40f

Browse files
committed
Remove question text and secret inputs
0 parents  commit 68aa40f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+8139
-0
lines changed

.github/workflows/rust.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Build
20+
run: cargo build --verbose
21+
- name: Run tests
22+
run: cargo test --verbose

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
*.iml
3+
/target

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "aoc-secret"]
2+
path = aoc-secret
3+
url = git@github.com:cluddles/aoc-secret.git

Cargo.lock

Lines changed: 159 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[workspace]
2+
members = [
3+
"aoc-lib",
4+
"aoc-2021",
5+
"aoc-2022",
6+
]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# aoc-rust
2+
Repo for my Rust-based Advent of Code solutions (2021, 2022)
3+
4+
See https://adventofcode.com

aoc-2021/Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "aoc-2021"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
aoc-lib = { path = "../aoc-lib" }
10+
anyhow = "1.0.68"
11+
itertools = "0.10.5"
12+
num-derive = "0.3.3"
13+
num-traits = "0.2.15"
14+
regex = "1.7.0"

aoc-2021/resource/01/input.test

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
199
2+
200
3+
208
4+
210
5+
200
6+
207
7+
240
8+
269
9+
260
10+
263

aoc-2021/resource/02/input.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
forward 5
2+
down 5
3+
forward 8
4+
up 3
5+
down 8
6+
forward 2

aoc-2021/resource/03/input.test

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
00100
2+
11110
3+
10110
4+
10111
5+
10101
6+
01111
7+
00111
8+
11100
9+
10000
10+
11001
11+
00010
12+
01010

0 commit comments

Comments
 (0)