Roman to Integer
Convert a Roman numeral to an integer. Subtractive pairs such as IV, IX, XL, XC, CD and CM are used.
Constraints
1 <= len(s) <= 15 The numeral represents a value from 1 to 3999
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.