C++: Faster than 91% of C++
\nclass Solution {\npublic:\n    vector<int> addToArrayForm(vector<int> &A, int K)\n    {\n        int i, size = A.size();\n\n        for (i = size - 1; i >= 0 
```\nclass Solution {\npublic:\n    vector<int> addToArrayForm(vector<int> &A, int K)\n    {\n        int i, size = A.size();\n\n        for (i = size - 1; i >= 0 && K != 0; i--)\n        {\n            K = K + A[i];\n            A[i] = K % 10;\n            K = K / 10;\n        }\n        while (K != 0)\n        {\n            A.insert(A.begin(), K % 10);\n            K = K / 10;\n        }\n        return A;\n    }\n};\n```
['C', 'C++']