C++ | Leetcode C++题解之第482题秘钥格式化
题目: 题解: class Solution {public:string licenseKeyFormatting(string s, int k) {string ans;int cnt = 0;for (int i = s.size() - 1; i >= 0; i--) {if (s[i...
题目: 题解: class Solution {public:string licenseKeyFormatting(string s, int k) {string ans;int cnt = 0;for (int i = s.size() - 1; i >= 0; i--) {if (s[i...