···7979 list = concat input
8080 width = (length list) `div` height
8181 startIndex = fromJust $ elemIndex 'S' list
8282- endIndex = fromJust, nub $ elemIndex 'E' list
8282+ endIndex = fromJust $ elemIndex 'E' list
83838484main :: IO ()
8585main = do
+2
Justfile
···2424 time swipl -s "$fn" -g main,halt < {{input}}
2525 else if test -f {{part}}.py
2626 time python3 "$fn" < {{input}}
2727+ else if test -f {{part}}.rb
2828+ time ruby "$fn" < {{input}}
2729 else if test -f {{part}}.c
2830 gcc "$fn" -o {{part}} > /dev/null
2931 and time ./{{part}} < {{input}}