Skip to content

Commit

Permalink
Day 25a
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Dec 25, 2023
1 parent 99cb098 commit f962aa5
Show file tree
Hide file tree
Showing 8 changed files with 1,374 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ jobs:
- uses: actions/checkout@v4.1.1
- uses: docker://lpenz/omnilint:0.5.1
rust:
uses: lpenz/ghworkflow-rust/.github/workflows/rust.yml@v0.19.0
uses: lpenz/ghworkflow-rust/.github/workflows/rust.yml@devel
with:
dependencies_debian: [ 'libz3-dev' ]
coveralls: true
publish_cratesio: false
publish_github_release: false
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
- day22
- day23
- day24
- day25
# end
if: github.ref == 'refs/heads/main'
needs: [ omnilint, rust ]
Expand Down
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ members = [
"day22",
"day23",
"day24",
"day25",
]

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![AoC](https://img.shields.io/badge/AoC%20%E2%AD%90-48-yellow)
![AoC](https://img.shields.io/badge/AoC%20%E2%AD%90-50-yellow)
[![CI](https://github.com/lpenz/adventofcode2023/workflows/CI/badge.svg)](https://github.com/lpenz/adventofcode2023/actions)
[![coveralls](https://coveralls.io/repos/github/lpenz/adventofcode2023/badge.svg?branch=main)](https://coveralls.io/github/lpenz/adventofcode2023?branch=main)

Expand All @@ -16,10 +16,13 @@ Some interesting things that happened on specific days:
- Day 20b: had to look at the graph to figure out the "counter result
modules".
- Day 24b: used [z3] in rust.
- Day 25a: graph min cut problem; did it with multiple Dijsktra, maybe
try [Stoer-Wagner] in the future.


<table><tr>
<td><a href="https://github.com/lpenz/adventofcode2022">:arrow_left: 2022</td>
</tr></table>

[z3]: https://docs.rs/z3/latest/z3/
[Stoer-Wagner]: https://scholar.google.com/scholar?cluster=10111487970680388034
10 changes: 10 additions & 0 deletions day25/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "day25"
version = "0.1.0"
edition = "2021"

[dependencies]
aoc = { path = "../aoc" }
color-eyre = "0.6.2"
copstr = "0.1.2"
nom = "7.1.3"
Loading

0 comments on commit f962aa5

Please sign in to comment.