[2017-12-08] Samples
parent
6cbbc8ea3d
commit
bebfdc26bd
File diff suppressed because it is too large
Load Diff
|
@ -68,3 +68,9 @@ function puzzle(string $input, bool $returnTopValue = false) : int {
|
|||
|
||||
return array_shift($variables);
|
||||
}
|
||||
|
||||
echo 'First challange solution:'.PHP_EOL;
|
||||
echo puzzle(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL.PHP_EOL;
|
||||
|
||||
echo 'Second challange solution:'.PHP_EOL;
|
||||
echo puzzle(trim(file_get_contents(dirname(__FILE__).'/input.txt')), true).PHP_EOL.PHP_EOL;
|
||||
|
|
Loading…
Reference in New Issue