Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
obracanie tablicy
#include <iostream> using namespace std; int m,n,x,tab[102][102]; int main() { cin>>n>>m; for(int j=1;j<=n;j++) { for(int i=1;i<=m;i++) { cin>>x; tab[j][i]=x; } } for(int j=1;j<=m;j++) { for(int i=n;i>=1;i--) { cout<<tab[i][j]<<" "; } cout<<endl; } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Sample Code from Scott Meyer's Blog
Equilateral triangle
Microsoft - MaxEmployeeAttendence (R repititions - 1st step towards DP solution)
MyStack
შუალედური მეოთხე საკითხი.Mobile tariff "Cents"
NameAdTel
Vector+Memory_Adv_C++_Tutorial
dia
Policy based smart pointer
template
Please log in to post a comment.