SnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world · 9 months agoTrust the leprechaunslemmy.dbzer0.comimagemessage-square42fedilinkarrow-up1397arrow-down119
arrow-up1378arrow-down1imageTrust the leprechaunslemmy.dbzer0.comSnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world · 9 months agomessage-square42fedilink
minus-squareAeonFelis@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down1·9 months agoDownvoted for completely ignoring the part where there should be input.
minus-squareieee@lemmy.worldlinkfedilinkarrow-up1·9 months agoDownvoted for losing codegolf. Ruby, 11 bytes $><<$<.min Input: 3\n10 Output: 10 Pretty sure I score double points for readability
Ruby, 3 bytes
p 3
Downvoted for completely ignoring the part where there should be input.
Downvoted for losing codegolf.
Ruby, 11 bytes
$><<$<.min
Input: 3\n10 Output: 10Pretty sure I score double points for readability
Get optimized