Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 个月前Infallible Codelemmy.mlexternal-linkmessage-square141fedilinkarrow-up1469arrow-down127
arrow-up1442arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 个月前message-square141fedilink
minus-squareAedis@lemmy.worldlinkfedilinkarrow-up2·5 个月前I’m waiting for a code golf style solution now.
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up2·5 个月前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’m waiting for a code golf style solution now.
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.