详细
直接暴力即可
class Solution {
public:
vector<int> printNumbers(int n) {
vector<int> v;
int num = 1;
int Max = 1;
while(n--){
Max *= 10;
}
while(num < Max){
v.push_back(num++);
}
return v;
}
};