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
2023 day 17 optimize
[aoc_eblake.git]
/
2022
/
day21.golfm4
blob
a8c05f0f6319461ad503bb848c3c094617da3889
1
define(_,`define($1,`($2)')_(shift(shift($@)))')_(translit(include(i)``define(`_')'',:
2
,`,,'))syscmd(bc -l<<<"define f(h){return pushdef(`humn',h)translit(
3
defn(`root'),+,-);};popdef(`humn')r=f(0)/(f(0)-f(1));scale=0;root;r/1")