delete pics to save space
This commit is contained in:
18
history_source/信息学奥赛一本通/1.5.2.8.cpp
Normal file
18
history_source/信息学奥赛一本通/1.5.2.8.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int n,m;
|
||||
scanf("%d%d",&n,&m);
|
||||
int a[m][n];
|
||||
for(int i=0;i<n;i++)
|
||||
for(int j=0;j<m;j++)
|
||||
scanf("%d",&a[j][i]);
|
||||
for(int i=0;i<m;i++)
|
||||
{
|
||||
for(int j=0;j<n;j++)
|
||||
printf("%d ",a[i][j]);
|
||||
printf("\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user