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 4 golf again
[aoc_eblake.git]
/
2022
/
day04.golfm4
blob
147cc8f112bac5c06d8ed196fede818b1638bbe6
1
eval(translit(_(include(i)),-
2
,`,,'define(_,`ifelse($1,,`) eval(',`+($1>=$3&$2<=$4|$3>=$1&$4<=$2)_(shift(
3
shift(shift(shift($@)))))+!($3>$2|$4<$1)')')))