Skip to content

rbwendt/advent-of-code-2017

Repository files navigation

advent-of-code-2017

Trying to do these in J, otherwise I'll be using a variety of cool languages😎

Instructions

Day 1, 2

paste the code into the J tool

Day 3a

php day03a.php

Day 3b

rustc day03b.rs && ./day03b

Day 4

paste the code into the J tool

Day 5

python day05.py

Day 6

nim compile --run day06.nim

Day 7

crystal day07.cr

Day 8

go run day08.go

Day 9

gcc day09.c && ./a.out && rm a.out

Day 10

crystal day10.cr

Day 11

gcc day11.c && ./a.out && rm a.out

Day 12

ruby day12.rb

Day 13

go run day13.go

Day 14

crystal day14.cr

Day 15

kotlinc day15.kt -include-runtime -d day15.jar && java -jar day15.jar

Day 16

kotlinc day16.kt -include-runtime -d day16.jar && java -jar day16.jar

Day 17

python day17.py

Day 18

ruby day18.rb

Day 19

node day19.js

Day 20

perl6 day20.pl