#13306: 測試執行AC,但solve it!顯示WA


money678678 (Power Chiou)


#include<iostream>
using namespace std;
int main(){
int n,m;
cin>>n>>m;
int arr[n][m];
for(int x=0;x<n;x++){
for(int y=0;y<m;y++){
cin>>arr[x][y];
}
}
for(int x=0;x<m;x++){
for(int y=0;y<n;y++){
cout<<arr[y][x]<<" ";
}
cout<<endl;
}

return 0;
}

#13309: Re:測試執行AC,但solve it!顯示WA


anandrewboy70900 (ShowTsai)


要重複輸入