Leetcode 273. 整數轉換英文表示

分層考慮,先1000之內的狀況,而後再把(Billion)(Million)(Thousand)拼起來web class Solution { public: const int Mod[3] = { 1000000000,1000000,1000 }; string H[3] = { "Billion","Million","Thousand" }, M[8] =
相關文章
相關標籤/搜索