Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
139394 林麒瑞 矩阵转置 C++ Wrong Answer 0 0 MS 244 KB 303 2024-03-23 17:22:45

Tests(0/5):


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


Judgement Protocol: