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

RGB7404 - Давхар давталт 4

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

Input

Бүхэл тоо өгөгдөнө.

Output

Жишээн дээрхтэй төстэй тоон хэлбэрийг үүсгэ.

Example

Input:
5
Output:
5
5 4
5 4 3
5 4 3 2
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
2022-11-29 11:19:30
#include<stdio.h>
int main()

{
int a,b,c;
scanf("%d",&a);
for(b=a ; b>=1; b--){
for(c=a; c>=b ; c--)
printf("%d ",c);
printf("\n");

}
return 0;
}
for ur mom
2022-11-16 08:14:05
L BOZO L I HATE NIGGERS L KILL YOURSELF L ONG L LOOKING LIKE MY ASS L PENIS WART L
2022-11-16 06:08:23
suvdaa chi arhi chin ym uu
shaaldaa
2022-11-16 06:06:27
suvdaa chi arhi chin ym uu
2022-11-16 05:53:09
BITGII HUUL








2022-11-16 05:52:37
BITGII HUUL








2022-10-19 16:57:04
yag yagaad hasaad hasaad 5 garaad bgag n tailbarlaad ogoh hun bnu pls
2022-04-26 08:50:59
include<iostream>
using namespace std;
main (){
int a;
cin a;
for(i=1; i<=a; i++){
for(j=a; j>0; j--){
cout << j;
}
}
}

Ananda
2022-01-08 13:00:58
#include<stdio.h>
int main()

{
int a,b,c;
scanf("%d",&a);
for(b=a ; b>=1; b--){
for(c=a; c>=b ; c--)
printf("%d ",c);
printf("\n");

}
}
pls copy this lol
2020-09-16 11:28:48
#include <iostream>
using namespace std;

int main() {
int j,i,n;
cin>>n;
for(i=n; i>=1; i--)
{
for(j=n; j>=i; j--)
cout<<j<<" ";
cout<<endl;
}
return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.