C++ Easy Solution and 0ms
Complexity\n- Time:\n0 ms\n\n# Code\n\nclass Solution {\npublic:\n    vector<int> getNoZeroIntegers(int n) {\n        vector<int> res;\n        for(int i=1;i<n;
# Complexity\n- Time:\n0 ms\n\n# Code\n```\nclass Solution {\npublic:\n    vector<int> getNoZeroIntegers(int n) {\n        vector<int> res;\n        for(int i=1;i<n;i++){\n            string a = to_string(i), b=to_string(n-i);\n            if(a.find(\'0\') != std::string::npos || b.find(\'0\') != std::string::npos){\n                continue;\n            }\n            res.push_back(i);res.push_back(n-i);\n            break;\n        }\n        return res;\n    }\n};\n```
['C++']