Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
102675 | 江婧瑶 | 冒泡排序法 | C++ | 编译错误 | 0 | 0 MS | 0 KB | 345 | 2023-09-14 13:21:48 |
include<bits/stdc++.h> using namespace std; int main() { //freopen("change","r",stdin) //freopen("change","r",stdout) int a[101][101]={0},m,n; cin>>m>>n; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++) { cin>>a[i][j]; } } for(int j=1;j<=n;j++) { for(int i=1;i<=m;i++) { cout<<a[i][j]<<" "; } cout<<endl; } }