Browse Source

[2017-12-08] Samples

master
Elis Hirwing 4 years ago
parent
commit
bebfdc26bd
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 1000
      day8/input.txt
  2. 6
      day8/main.php

1000
day8/input.txt

File diff suppressed because it is too large

6
day8/main.php

@ -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…
Cancel
Save