Leetcode 12 int -> Rome

class Solution { public: string intToRoman(int num) { string str = ""; vector<int> number{1000,900,500,400,100,90,50,40,10,9,5,4,1}; vector<string> rome{"M","CM","D","CD","C",
相關文章
相關標籤/搜索