[2017-12-07] Samples

master
Elis Hirwing 5 years ago
parent 59869da756
commit 051e389130
Signed by: etu
GPG Key ID: D57EFA625C9A925F
  1. 1098
      day7/input.txt
  2. 6
      day7/main.php

File diff suppressed because it is too large Load Diff

@ -119,3 +119,9 @@ function puzzle2(string $input) : int
// Calucalete correct value
return $errorNameOriginalValue - $diff;
}
echo 'First challange solution:'.PHP_EOL;
echo puzzle1(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL.PHP_EOL;
echo 'Second challange sample:'.PHP_EOL;
echo puzzle2(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL;

Loading…
Cancel
Save