Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151058 张锦程 数组转置 C++ Accepted 1 MS 272 KB 309 2026-04-04 14:49:42

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int n[3][4]={}; for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ cin>>n[i][j]; } }for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ cout<<n[j][i]<<" "; }cout<<endl; } return 0; }