minus-squareieee@lemmy.worldtoLemmy Shitpost@lemmy.world•Trust the leprechaunslinkfedilinkarrow-up1·11 months agoDownvoted for losing codegolf. Ruby, 11 bytes $><<$<.min Input: 3\n10 Output: 10 Pretty sure I score double points for readability linkfedilink
minus-squareieee@lemmy.worldtoLemmy Shitpost@lemmy.world•Trust the leprechaunslinkfedilinkarrow-up1·11 months agoGet optimized linkfedilink
minus-squareieee@lemmy.worldtoLemmy Shitpost@lemmy.world•Trust the leprechaunslinkfedilinkarrow-up3arrow-down2·11 months agoRuby, 3 bytes p 3 linkfedilink
Downvoted for losing codegolf.
Ruby, 11 bytes
$><<$<.min
Input: 3\n10 Output: 10Pretty sure I score double points for readability