提交时间:2024-03-23 17:23:52
运行 ID: 139414
#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(1)<<a[j][i]; } cout<<endl; } return 0; }