qaz@lemmy.world to Programmer Humor@programming.devEnglish · hace 5 mesesWho cares about time complexitylemmy.worldimagemessage-square69fedilinkarrow-up1455arrow-down12
arrow-up1453arrow-down1imageWho cares about time complexitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · hace 5 mesesmessage-square69fedilink
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up9arrow-down2·hace 5 mesesIIV becomes IIIII, hm?
minus-squaretrxxruraxvr@lemmy.worldlinkfedilinkarrow-up34arrow-down1·edit-2hace 5 mesesIIV 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·hace 5 mesesWhile 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·hace 5 mesesYes, 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.