Expected output for the 4154 is MMMCLIV, which obviously is wrong. I’ve passed the test only by adding error to the code 4000 => MMM instead of MMMM.
Same here. Just for the case of 4000. Question creator code is somehow wrong I think.
took some time to figure out why code was failing. Thanks for a hint with 4K case.
I have same issue…
yes I confirm that too.
MMMCCCXLII is what the test considers correct, but that number doesn’t exist on the input. it should start with MMMM.