This repository stores small programs which solves Advent of Code 2021 puzzles. Using two languages (Go and Java) just for fun and comparison. In .txt files my input from adventofcode.com. Yours will be different.
go run 1.go input.go math.go < inputs/1.txt
First compile dependency
javac Scanner.java
Then run
java d1.java < inputs/1.txt
Works for Java 17+ only
ruby 1.rb < inputs/1.txt