@SnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world • 8 months agoTrust the leprechaunslemmy.dbzer0.comimagemessage-square42fedilinkarrow-up1399arrow-down119
arrow-up1380arrow-down1imageTrust the leprechaunslemmy.dbzer0.com@SnokenKeekaGuard@lemmy.dbzer0.com to Lemmy Shitpost@lemmy.world • 8 months agomessage-square42fedilink
minus-square@AeonFelis@lemmy.worldlinkfedilinkEnglish2•8 months agoDownvoted for completely ignoring the part where there should be input.
minus-square@ieee@lemmy.worldlinkfedilink1•8 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