Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158793 王垚植 二维数组输出(1) C++ Accepted 2 MS 272 KB 250 2026-08-22 17:24:43

Tests(3/3):


Code:

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