delete pics to save space
This commit is contained in:
18
history_source/ccf 入门篇/U5/5.5.7.cpp
Normal file
18
history_source/ccf 入门篇/U5/5.5.7.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int n,m;
|
||||
while(true)
|
||||
{
|
||||
cin>>n>>m;
|
||||
int picture[m][n];
|
||||
for(int i=0;i<n;i++) for(int j=0;j<m;j++) cin>>picture[j][i];
|
||||
cout<<endl;
|
||||
for(int i=0;i<m;i++)
|
||||
{
|
||||
for(int j=0;j<n;j++) cout<<picture[i][n-1-j]<<" ";
|
||||
cout<<endl;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user