blob: 38fd725cae8459cbdb5e6822a4b1b7b5d5a11140 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
python -c '
import itertools
for p in itertools.permutations([0, 1, 2, 3, 4]):
print(*p)
' | while read a b c d e
do
./machine.lisp $a 0 \
| ./machine.lisp $b \
| ./machine.lisp $c \
| ./machine.lisp $d \
| ./machine.lisp $e
done | sort -nr | head -n1
|