Add makefile and input.
This commit is contained in:
parent
ab79a698c8
commit
b2a0c3b531
28
2015/day09/input
Normal file
28
2015/day09/input
Normal file
@ -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
|
16
2015/day09/makefile
Normal file
16
2015/day09/makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
user.block.title