Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151068 马俊潇 数组转置 C++ Wrong Answer 1 MS 272 KB 439 2026-04-04 15:17:18

Tests(0/1):


Code:

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


Run Info:

------Input------
1 2 2359 23 439 2 239 309 13
------Answer-----
1 23 239 2 439 309 2359 2 13
------Your output-----
1 2 2359 23 439 2 239 309 13