C++ Solution
```\nclass Solution {\npublic:\n    vector divideString(string s, int k, char fill) {\n        vector v;\n        string tmp = "";\n        for(int i = 0; i < s
```\nclass Solution {\npublic:\n    vector<string> divideString(string s, int k, char fill) {\n        vector<string> v;\n        string tmp = "";\n        for(int i = 0; i < s.length(); i++){\n            tmp+=s[i];\n            if((i+1)%k==0){\n                v.push_back(tmp);\n                tmp="";\n            }\n        }\n        if(tmp.length()!=0){\n            while(tmp.length()!=k){\n                tmp+=fill;\n            }\n            v.push_back(tmp);\n        }\n        return v;\n    }\n};
['C']