Home

Awesome

Advent of Code 2016

All my Advent of Code 2016 attempts! Mainly in Python.

Note to Self

export X=... # day number

# Note that .in files are hidden but it should be within Day-<X>/<X>.in\

# Python
cd Day-$X/Python && python3 main.py < ../$X.in && cd ../..

# Java
cd Day-$X/Java && javac Main.java && java Main < ../$X.in && cd ../..

# C++
cd Day-$X/C++ && g++ -o mainc main.cpp && ./mainc < ../$X.in && cd ../..