Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
83819 sh25_huangse 一维数组转二维数组 C++ Accepted 1 MS 256 KB 229 2026-02-02 20:14:03

Tests(1/1):


#include<iostream> using namespace std; int main(){ int n; cin>>n; int a[n*n]; for(int i=0;i<n*n;++i){ cin>>a[i]; cout<<a[i]<<" "; if(i%n==n-1) cout<<'\n'; } return 0; }


Judgement Protocol: