#include <cmath> #include <vector> class Solution { public: vector<int> printNumbers(int n) { int m=1; for(int i=1;i<=n;++i) m*=10; vector<int> vc(m-1); for(int i=0;i<m;++i) vc[i]=i+1; return vc; } };