faster than 100.00% of C++ solutions
\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n        \n        vector<string> res;\n        \n        for(int i =
```\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n        \n        vector<string> res;\n        \n        for(int i = 0; i<s.size(); i = i + k)\n        {\n             res.push_back(s.substr(i, k));\n        }\n        \n        \n        int count = res[res.size()-1].size();\n        if(count<k)\n        {\n            string x = string(k-count, fill);\n            res[res.size()-1] += x;\n        }\n            \n       return res; \n    }\n};\n\n\n```
[]