Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 个月前Infallible Codelemmy.mlimagemessage-square163fedilinkarrow-up1486arrow-down127
arrow-up1459arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 个月前message-square163fedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·3 个月前I don’t think there’s much to codegolf. The “obvious” solution (even() (($1%2))) is both shorter and faster. Don’t think it can be optimized much more.
I don’t think there’s much to codegolf. The “obvious” solution (
even() (($1%2))
) is both shorter and faster. Don’t think it can be optimized much more.