Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 417 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 417 Bytes

Running Haskell code

stack solution.hs "tests"
cat input.txt | stack solution.hs "part1"
cat input.txt | stack solution.hs "part2"

Running J code (after entering jconsole)

0!:1 < 'solution.ijs'

Running Rust code

// before you run first time: cargo install rust-script
rust-script --test solution.rs
rust-script solution.rs input.txt part1
rust-script solution.rs input.txt part2