提交时间:2024-03-23 17:27:53

运行 ID: 139480

#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<<a[j][i]<<setw(1); } cout<<endl; } return 0; }