The Leetcode's answer is not checking the Roman standard form


  • 0
    E

    For example, "DCXXXXI" is an invalid string which has 4 repeated in succession of "X", but the "expected answer" still shows 641. Also the expected answer of "IC" is wrong, because the correct Roman numeral of 99 should be "XCIX".


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.