摘要: class Solution: def romanToInt(self, s: str) -> int: d = { "I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000, } ret = 0 i = 0 while i < 阅读全文
posted @ 2025-11-13 11:54 千心 阅读(5) 评论(0) 推荐(0)