Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7530 - Массив эргүүлэлт

Өгөгдсөн n*m хэмжээст массивыг цагийн зүүний дагуу 90 градус эргүүл.

Input

Эхний мөрөнд массивын хэмжээс n,m натурал тоонууд зайгаар тусгаарлагдан өгөгдөнө. n,m<=50.

Дараагийн n мөрөнд m бүхэл тоонууд нэг нэг зайгаар тусгаарлагдан өгөгдөнө.

Output

Эргэсэн массив жишээн дээрх хэлбэрээр..

Example

Input:
3 4
1 2 3 4
5 6 7 8
9 10 11 12
Output:
4 3
9 5 1
10 6 2
11 7 3
12 8 4

Нэмсэн:Bataa
Огноо:2013-03-15
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-01-16 05:00:12
ザは計画が思いつかなかったので、自分のラブストーリーかそれに似たものを書きました。
私は映画を見るのが好きです。あなたのキノトーク番号を見た後。私は、ウォン・カー・ワイについて話し合う映画ポッドキャストの気分でのエピソードを聞きました。それから私はこのようなコマーシャル映画を見るのをやめます。ちょっとしたアート映画を見たいという大きな需要がありました。そのポッドキャストで述べたように、Car Wai は間違いなくアート シネマへの架け橋でした (それは私に多くのことを理解させてくれました)。今はその監督の映画しか見られない。リストが作成されました。
- 重慶エクスプレス (1994)
- ハッピートゥゲザー (1997)
- 堕天使
最後に、注目するリストを作成します。愛の気分で。アートフィルムの世界に入ることを決意。それから、最初のパスであるChunking expressに出くわしました。自分にがっかりして、映画を撮り終えてすぐに出かけました。翌日、私はとても弱くなり、少し落ち込んでいました。まあ、彼は自分自身を弁護し、英語の字幕を見るなどの言い訳をしました。次に、あなたのときめき(有名人のときめき)に起こったすべてのプロセスを書き留めてから、何をしますか?そして、言いました。インスタグラムでダイレクトメッセージを送るのは難しいと思ったので、寄付になると言ってgmailで送ることにしました。兄からテキストのスクリーンショットを受け取ったことを思い出したときに、解決策を見つけました。私はそれを自分のコンピューターに入力し、png ファイルとして送信しました。彼は私に映画のレビューという形で非常に長いメッセージを送ってきた. (メッセージより:映画には、間違った興味を持っている人よりも、違う興味を持っている人がいます。食べ物や音楽が好きなら好きで、嫌いなら嫌いです。 1本の映画を観ただけで自分が人より優れていると思うのは、ちょっとやり過ぎです。
2023-11-28 07:05:45
#include <iostream>

using namespace std;

int main()
{
int n , m , a[55][55] , b[55][55], i , j , l;
cin >> n >> m ;
for(i = 1 ; i <= n ; i++)
for(j = 1 ; j <= m ; j++)
cin >>a[i][j] ;
cout << m << " " << n << endl ;
l = n ;
for(i = 1 ; i <= n ; i++){
for(j = 1 ; j <= m ; j++)
b[j][l] = a[i][j] ;
l--;
}
for(i = 1 ; i <= m ; i++){
for(j = 1 ; j <= n ; j++)
cout << b[i][j] << " ";
cout << endl ;
}
}
mai ochiroo munkhuu 2 sugaaa
2023-11-28 06:54:24
#include <bits/stdc++.h>
using namespace std;
int main (){
long long i,j,n,k,c,m;
cin>>n>>m;
long long a[n][m],b[m][n];
c=n;
for(i=1;i<=n;i++){
for(j=1;j<=m;j++){
cin>>a[i][j];
}
}
cout << m <<" " << n << endl;
for(i=1;i<=n;i++){
for(j=1;j<=m;j++){
b[j][c]=a[i][j];
}
c--;
}
for(i=1;i<=m;i++){
for(j=1;j<=n;j++){
cout<<b[i][j]<<" ";
}
cout<<endl;
}
return 0;
}eniig shagaad uz yun bolku tell me guys?
2023-02-05 09:59:51
yuve ene zuv bizde
#include <iostream>
using namespace std;

int main() {
int n, col, row, i, j, b, a[200][200];
cin >> row >> col;

for ( i = 1; i <= row; i++){
for ( j = 1; j <= col; j++){
cin >> a[i][j];
}
}

for ( i = 1; i <= col; i++ ){
for ( j = row; j >= 1; j--){
cout << a[j][i] << " ";
}
cout << "\n";
}
return 0;
}
2022-11-18 01:45:17
Zza wrote his own love story or something similar because he couldn't think of a plan.
I like watching movies. After watching your Kino talk numbers. I listened to an episode of the in the mood for flim podcast discussing won kar wai. Then I will stop watching commercial movies like this. There was a big demand to watch a little art movie. As mentioned in that podcast, Car Wai was definitely a bridge to art cinema (which made me understand a lot). Now I can only watch movies by the director. A list was made.
- Chungking Express (1994)
- Happy Together (1997)
-Falling angels
Finally, make a list to watch: In the mood for love. decided to enter the art film world. Then I stumbled on Chunking express, the first pass. Disappointed with myself, I finished the movie and immediately went out. The next day I was very weak and a little depressed. Well, he defended himself and made excuses like watching eng subtitles. Then write down all the processes that happened to your crush (celebrity crush) and then what to do? and said. I thought it would be difficult to send a direct text message on Instagram, so I decided to send it via gmail, saying that it would be a donation. I found the solution when I remembered that I had received a text screenshot from my senior brother. I typed it on my computer and sent it as a png file. He sent me a very long message in the form of a review of a movie. (From the message: There are people who have different interests in movies than there are people with wrong interests. If you like food and music, you like it, and if you don't like it, you don't like it. If you think you're better than others by watching one movie, it's a little too much. seems like bragging.
Fudu
2022-11-18 01:45:15
Zza wrote his own love story or something similar because he couldn't think of a plan.
I like watching movies. After watching your Kino talk numbers. I listened to an episode of the in the mood for flim podcast discussing won kar wai. Then I will stop watching commercial movies like this. There was a big demand to watch a little art movie. As mentioned in that podcast, Car Wai was definitely a bridge to art cinema (which made me understand a lot). Now I can only watch movies by the director. A list was made.
- Chungking Express (1994)
- Happy Together (1997)
-Falling angels
Finally, make a list to watch: In the mood for love. decided to enter the art film world. Then I stumbled on Chunking express, the first pass. Disappointed with myself, I finished the movie and immediately went out. The next day I was very weak and a little depressed. Well, he defended himself and made excuses like watching eng subtitles. Then write down all the processes that happened to your crush (celebrity crush) and then what to do? and said. I thought it would be difficult to send a direct text message on Instagram, so I decided to send it via gmail, saying that it would be a donation. I found the solution when I remembered that I had received a text screenshot from my senior brother. I typed it on my computer and sent it as a png file. He sent me a very long message in the form of a review of a movie. (From the message: There are people who have different interests in movies than there are people with wrong interests. If you like food and music, you like it, and if you don't like it, you don't like it. If you think you're better than others by watching one movie, it's a little too much. seems like bragging.
Fudu
2022-11-18 01:44:56
Zza wrote his own love story or something similar because he couldn't think of a plan.
I like watching movies. After watching your Kino talk numbers. I listened to an episode of the in the mood for flim podcast discussing won kar wai. Then I will stop watching commercial movies like this. There was a big demand to watch a little art movie. As mentioned in that podcast, Car Wai was definitely a bridge to art cinema (which made me understand a lot). Now I can only watch movies by the director. A list was made.
- Chungking Express (1994)
- Happy Together (1997)
-Falling angels
Finally, make a list to watch: In the mood for love. decided to enter the art film world. Then I stumbled on Chunking express, the first pass. Disappointed with myself, I finished the movie and immediately went out. The next day I was very weak and a little depressed. Well, he defended himself and made excuses like watching eng subtitles. Then write down all the processes that happened to your crush (celebrity crush) and then what to do? and said. I thought it would be difficult to send a direct text message on Instagram, so I decided to send it via gmail, saying that it would be a donation. I found the solution when I remembered that I had received a text screenshot from my senior brother. I typed it on my computer and sent it as a png file. He sent me a very long message in the form of a review of a movie. (From the message: There are people who have different interests in movies than there are people with wrong interests. If you like food and music, you like it, and if you don't like it, you don't like it. If you think you're better than others by watching one movie, it's a little too much. seems like bragging.
Fudu
2022-11-18 01:44:56
Zza wrote his own love story or something similar because he couldn't think of a plan.
I like watching movies. After watching your Kino talk numbers. I listened to an episode of the in the mood for flim podcast discussing won kar wai. Then I will stop watching commercial movies like this. There was a big demand to watch a little art movie. As mentioned in that podcast, Car Wai was definitely a bridge to art cinema (which made me understand a lot). Now I can only watch movies by the director. A list was made.
- Chungking Express (1994)
- Happy Together (1997)
-Falling angels
Finally, make a list to watch: In the mood for love. decided to enter the art film world. Then I stumbled on Chunking express, the first pass. Disappointed with myself, I finished the movie and immediately went out. The next day I was very weak and a little depressed. Well, he defended himself and made excuses like watching eng subtitles. Then write down all the processes that happened to your crush (celebrity crush) and then what to do? and said. I thought it would be difficult to send a direct text message on Instagram, so I decided to send it via gmail, saying that it would be a donation. I found the solution when I remembered that I had received a text screenshot from my senior brother. I typed it on my computer and sent it as a png file. He sent me a very long message in the form of a review of a movie. (From the message: There are people who have different interests in movies than there are people with wrong interests. If you like food and music, you like it, and if you don't like it, you don't like it. If you think you're better than others by watching one movie, it's a little too much. seems like bragging.
Fudu
2022-11-18 01:44:52
ザは計画が思いつかなかったので、自分のラブストーリーかそれに似たものを書きました。
私は映画を見るのが好きです。あなたのキノトーク番号を見た後。私は、ウォン・カー・ワイについて話し合う映画ポッドキャストの気分でのエピソードを聞きました。それから私はこのようなコマーシャル映画を見るのをやめます。ちょっとしたアート映画を見たいという大きな需要がありました。そのポッドキャストで述べたように、Car Wai は間違いなくアート シネマへの架け橋でした (それは私に多くのことを理解させてくれました)。今はその監督の映画しか見られない。リストが作成されました。
- 重慶エクスプレス (1994)
- ハッピートゥゲザー (1997)
- 堕天使
最後に、注目するリストを作成します。愛の気分で。アートフィルムの世界に入ることを決意。それから、最初のパスであるChunking expressに出くわしました。自分にがっかりして、映画を撮り終えてすぐに出かけました。翌日、私はとても弱くなり、少し落ち込んでいました。まあ、彼は自分自身を弁護し、英語の字幕を見るなどの言い訳をしました。次に、あなたのときめき(有名人のときめき)に起こったすべてのプロセスを書き留めてから、何をしますか?そして、言いました。インスタグラムでダイレクトメッセージを送るのは難しいと思ったので、寄付になると言ってgmailで送ることにしました。兄からテキストのスクリーンショットを受け取ったことを思い出したときに、解決策を見つけました。私はそれを自分のコンピューターに入力し、png ファイルとして送信しました。彼は私に映画のレビューという形で非常に長いメッセージを送ってきた. (メッセージより:映画には、間違った興味を持っている人よりも、違う興味を持っている人がいます。食べ物や音楽が好きなら好きで、嫌いなら嫌いです。 1本の映画を観ただけで自分が人より優れていると思うのは、ちょっとやり過ぎです。
2022-11-18 01:44:52
Zza wrote his own love story or something similar because he couldn't think of a plan.
I like watching movies. After watching your Kino talk numbers. I listened to an episode of the in the mood for flim podcast discussing won kar wai. Then I will stop watching commercial movies like this. There was a big demand to watch a little art movie. As mentioned in that podcast, Car Wai was definitely a bridge to art cinema (which made me understand a lot). Now I can only watch movies by the director. A list was made.
- Chungking Express (1994)
- Happy Together (1997)
-Falling angels
Finally, make a list to watch: In the mood for love. decided to enter the art film world. Then I stumbled on Chunking express, the first pass. Disappointed with myself, I finished the movie and immediately went out. The next day I was very weak and a little depressed. Well, he defended himself and made excuses like watching eng subtitles. Then write down all the processes that happened to your crush (celebrity crush) and then what to do? and said. I thought it would be difficult to send a direct text message on Instagram, so I decided to send it via gmail, saying that it would be a donation. I found the solution when I remembered that I had received a text screenshot from my senior brother. I typed it on my computer and sent it as a png file. He sent me a very long message in the form of a review of a movie. (From the message: There are people who have different interests in movies than there are people with wrong interests. If you like food and music, you like it, and if you don't like it, you don't like it. If you think you're better than others by watching one movie, it's a little too much. seems like bragging.
Fudu
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.