SnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world · 11 months agoTrust the leprechaunslemmy.dbzer0.comimagemessage-square27fedilinkarrow-up1301arrow-down118
arrow-up1283arrow-down1imageTrust the leprechaunslemmy.dbzer0.comSnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world · 11 months agomessage-square27fedilink
minus-squareAeonFelis@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down1·11 months agoDownvoted for completely ignoring the part where there should be input.
minus-squareieee@lemmy.worldlinkfedilinkarrow-up1·11 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.
Get optimized
Downvoted for losing codegolf.
Ruby, 11 bytes
$><<$<.min
Input: 3\n10 Output: 10Pretty sure I score double points for readability