彻底净化Windows“此电脑“:MyComputerManager一键清除顽固快捷方式
2026/7/8 7:19:51
#include <iostream> #include <iomanip> using namespace std; int main() { int N; cout << "请输入方阵阶数N(0<N<=10):"; cin >> N; // i代表行索引 for (int i = 0; i < N; i++) { // 当前行第一个数字 int first = (i + 1) * N; // j代表列索引,从左到右依次减1 for (int j = 0; j < N; j++) { cout << setw(3) << first - j; } cout << endl; } return 0; }