diff --git a/2015/day09/input b/2015/day09/input new file mode 100644 index 0000000..a56f5e2 --- /dev/null +++ b/2015/day09/input @@ -0,0 +1,28 @@ +AlphaCentauri to Snowdin = 66 +AlphaCentauri to Tambi = 28 +AlphaCentauri to Faerun = 60 +AlphaCentauri to Norrath = 34 +AlphaCentauri to Straylight = 34 +AlphaCentauri to Tristram = 3 +AlphaCentauri to Arbre = 108 +Snowdin to Tambi = 22 +Snowdin to Faerun = 12 +Snowdin to Norrath = 91 +Snowdin to Straylight = 121 +Snowdin to Tristram = 111 +Snowdin to Arbre = 71 +Tambi to Faerun = 39 +Tambi to Norrath = 113 +Tambi to Straylight = 130 +Tambi to Tristram = 35 +Tambi to Arbre = 40 +Faerun to Norrath = 63 +Faerun to Straylight = 21 +Faerun to Tristram = 57 +Faerun to Arbre = 83 +Norrath to Straylight = 9 +Norrath to Tristram = 50 +Norrath to Arbre = 60 +Straylight to Tristram = 27 +Straylight to Arbre = 81 +Tristram to Arbre = 90 diff --git a/2015/day09/makefile b/2015/day09/makefile new file mode 100644 index 0000000..ebf97ea --- /dev/null +++ b/2015/day09/makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -std=c99 -Wall -Wextra +LDFLAGS = +DFLAGS = -std=c99 -Wall -Wextra -g + +1: answer01.c + $(CC) $(CFLAGS) $(LDFLAGS) answer01.c -o answer01 + +2: answer02.c + $(CC) $(CFLAGS) $(LDFLAGS) answer02.c -o answer02 + +1d: answer01.c + $(CC) $(DFLAGS) $(LDFLAGS) answer01.c -o answer01 + +2d: answer02.c + $(CC) $(DFLAGS) $(LDFLAGS) answer02.c -o answer02