qaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agoWho cares about time complexityimagemessage-square69linkfedilinkarrow-up1456arrow-down11
arrow-up1455arrow-down1imageWho cares about time complexityqaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agomessage-square69linkfedilink
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up9arrow-down2·1 month agoIIV becomes IIIII, hm?
minus-squaretrxxruraxvr@lemmy.worldlinkfedilinkarrow-up34arrow-down1·edit-21 month 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-squareMirodir@discuss.tchncs.delinkfedilinkarrow-up14·1 month agoWhile it doesn’t say anything about IIV specifically, they sure got creative enough to sometimes subtract more than one of the smaller units from a larger one.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up2arrow-down8·1 month 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.
While it doesn’t say anything about IIV specifically, they sure got creative enough to sometimes subtract more than one of the smaller units from a larger one.
Yes, that does demonstrate my point.