Run Code
|
API
|
Code Wall
|
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
Wygner aprendizado
CyclicExpression Checker
add all
Text Justification
Longest Palindrom in String
lambda demo
ISPrime
Subset sum
Hangman
cppPySlots3