#include <iostream>
#include <iostream>
#include <algorithm>
#include <numeric>
#include <iomanip>
#include <cmath>
#include <cstdio>
#include <climits>
#include <string>
#include <cstring>
using namespace std;
template<class T>
int length(T &array) {
return sizeof(array) / sizeof(array[0]);
}
int main() {
int n, index = 1;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
for (int j = 0; j < n - i; j++) {//根据题意推导出来
printf("%02d", index++);
}
printf("\n");
}
return 0;
}
08-15
375
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
1311
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-04
409
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-05
1218
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)