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.|

RGB7401 - Давхар давталт 1

Өгөгдсөн тоо болон тэрхүү тоо хүртэлх тоонуудыг жишээн дээрх хэлбэрээр хэвлэ.

Input

Бүхэл тоо өгөгдөнө. 10-аас бага.

Output

Тоонуудыг зайгаар тусгаарлан жишээн дээрх хэлбэрээр мөрүүдэд хэвлэнэ.

Example

Input:
5

Output:
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1

Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт: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-21 10:09:21
#include <stdio.h>
int n,i,j;
int main()
{
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=n;j>=1;j--)
printf(" %d",j);
printf("\n");
}
return 0;
}
2023-12-01 11:06:56
gomo amar
2023-03-15 02:15:18
#include<stdio.h>{COuS}
int main()
{
int n, i, j;
scanf("%d",&n);
for(i=n; i>=1; i--)
{
for(j=n; j>=1; j--)
printf(" %d",j);
printf("\n");
}
}
2023-02-15 17:23:42
hinoru bna


#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int n,j;
cin>>n;
for(int i=1;i<=n;i++)
{
for( j=n;j>=1;j--)

cout<<j<<" ";
cout<<"\n";
}
return 0;

}
2022-07-26 09:53:03
#include <bits/stdc++.h>
using namespace std;
main()
{ int n,i,j;
scanf("%d",&n);
for(j=1;j<=n;j++)
{ for(i=n;i>=1;i--)
printf("%d ",i); printf("\n"); }

return 0; }
2022-04-05 11:02:29
#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}#include <bits/stdc++.h>
using namespace std;

int main() {
int n,i,j;
cin>>n;
if(n<=10)
{
for(i=5; i>=1; i--)
{
for(j=5; j>=1; j--)
cout<<j<<" ";
cout<<endl;
}

}

// your code here

return 0;
}
huuluul huul llruudaa
2022-01-07 14:26:09
#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d",&a);
for(b=1 ; b<=a ; b++){
for(c=a ; c>=1 ;c--)
printf("%d",c);
printf("\n");
}
}
pls copy this
ez
2020-01-16 13:43:10
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n;
cin >> n;
int y = n + 1;
int i = y;
while (n > 0)
{
n--;
i = y;
while (i > 1)
{
i = (i - 1);
cout << " " << i;
}
cout << endl;
cout << endl;
}
return(0);
}
2020-01-08 05:33:20
include <iostream>
using namespace std;
int main(){
int n,i,j;
cin>>n;
if(n<#10);
for(i=1;i<=n;i++){
for(j=n;j>0;j--){
cout<<j<<" ";
}
cout<<endl;
cout<<endl;
}
return 0;
}
2019-12-06 09:50:36


































































































































































































































































































































































































g
a
y



























g
y

























g
a




y























...





© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.