Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
363321 王冠程 【C4-9】数字走向II C++ 编译错误 0 0 MS 0 KB 291 2025-11-23 16:36:40

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int a[15][15],n,c; int main(){ cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ a[i][j]=++c; } for(int i=n;i>=1;i--){ for(int j=1;j<=n;j++){ cout<<setw(3)<<a[i][j]; } cout<<endl; } return 0; }


测评信息: