Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
323038 钟宜辰 【C4-9】数字走向I C++ 输出格式错误 0 2 MS 244 KB 238 2025-05-17 15:46:27

Tests(0/1):


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


测评信息: