repo.or.cz
/
aoc_eblake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
day 14 semi-golf, with missing fifth glyph
[aoc_eblake.git]
/
2019
/
day2.sh
blob
7b2f11119924e201a18ad0afa14eaf72675cafe3
1
#!/bin/bash
2
for
i
in
$
(
seq
0 99
);
do
3
for
j
in
$
(
seq
0 99
);
do
4
case
$
(
.
/
foo day2.input
$i $j
)
in
5
*
holds\
19690720
)
break
2
;;
6
esac
7
done
8
done
9
echo
winner
at
$
((
100
*
i
+
j
))