Roman to Integer

AC Rate: 905/2737
My Submissions

Given a roman numeral, convert it to an integer.

Input is guaranteed to be within the range from 1 to 3999.


You have not signed in, cannot submit your code.
Submit failed, try again please.
You have attempted to resubmit too soon. Please resubmit in a moment.

Send Feedback