qaz@lemmy.world to Programmer Humor@programming.devEnglish · 11 days agoWho cares about time complexitylemmy.worldimagemessage-square48linkfedilinkarrow-up1323
arrow-up1323imageWho cares about time complexitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 11 days agomessage-square48linkfedilink
minus-squaretrxxruraxvr@lemmy.worldlinkfedilinkarrow-up22·edit-211 days agoIIV would never be used. In Roman numerals at most one smaller unit can come in front of a larger one. The code doesn’t do any validation though.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up1·11 days agoYes, that does demonstrate my point.
IIV becomes IIIII, hm?
IIV would never be used. In Roman numerals at most one smaller unit can come in front of a larger one. The code doesn’t do any validation though.
Yes, that does demonstrate my point.