My solutions for Advent of Code to solve my input. I took some shortcuts mostly in the permutations problems so that they would solve quicker, sometimes I guessed. Therefore my solutions might not solve for all inputs.
I used C for this problem since it involved a massive amount of arithmetic and python was extremely slow.
Compile with: gcc part1.c -o part1.exe -O3 -std=c99