[2017-12-06] Samples

master
Elis Hirwing 2017-12-06 08:00:55 +01:00
parent 6b107a2661
commit abfd94b803
Signed by: etu
GPG Key ID: D57EFA625C9A925F
2 changed files with 7 additions and 0 deletions

1
day6/input.txt Normal file
View File

@ -0,0 +1 @@
0 5 10 0 11 14 13 4 11 8 8 7 1 4 12 11

View File

@ -91,3 +91,9 @@ function puzzle2(string $input) : int
return $sum;
}
echo 'First challange solution:'.PHP_EOL;
echo puzzle1(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL;
echo 'Second challange solution:'.PHP_EOL;
echo puzzle2(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL;