Skip to content

Commit

Permalink
complete AoC 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 26, 2023
1 parent f7f9edb commit b861399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def main() -> int:
See the [examples](./examples/) and [tests](./tests/) directories for more example programs
or read [the Jou tutorial](./doc/tutorial.md).

So far, Jou is usable enough to do [Advent of Code 2023](https://adventofcode.com/).
We'll see whether I get 50 stars with Jou this year.
So far, Jou is usable enough for writing small programs.
For example, I solved all problems of [Advent of Code 2023](https://adventofcode.com/2023/) in Jou.
See [examples/aoc2023](./examples/aoc2023/) for the code.

Goals:
Expand Down
2 changes: 1 addition & 1 deletion examples/aoc2023/day25/part1.jou
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,6 @@ def main() -> int:
#graph.visualize_with_graphviz()

assert graph.num_nodes == 2
printf("%d\n", graph.weights[0] * graph.weights[1])
printf("%d\n", graph.weights[0] * graph.weights[1]) # Output: 54
graph.free()
return 0

0 comments on commit b861399

Please sign in to comment.