摘要: 第一题 5479. 千位分隔数 把数字转换成字符串并翻转,然后每三位加一个".",之后再翻转字符串,就是最终的答案了。 class Solution { public: string thousandSeparator(int n) { string N = to_string(n); revers 阅读全文
posted @ 2020-08-23 22:05 machine_gun_lin 阅读(71) 评论(0) 推荐(0)