Update '05/part1.php'
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
echo '<pre>';
|
|
||||||
$input = file('input', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
$input = file('input', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
||||||
$input = array_map(fn($line) => explode(',', str_replace(' -> ', ',', $line)), $input);
|
$input = array_map(fn($line) => explode(',', str_replace(' -> ', ',', $line)), $input);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user