RomantoInt1 [코딩 테스트] 리트코드 13 - Roman to Integer (Easy) in Python Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. 로마자로 주어진 입력을 숫자로 변환하세요! Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 Example 1: Input: s = "III" Output: 3 Example 2: Input: s = "IV" Output: 4 Example 3: Input: s = "IX" Output: 9 Example 4: Input: s = "LVIII" Output: 58 Explanation: L = 50, V= 5, III = 3. Example 5: Input: s = "MCMXCIV" Output: 1994 Explana.. 2021. 5. 22. 이전 1 다음