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

RGB7308 - Тонгорогсон тоо

Өгөгдсөн тооны тонгорогсон тоог ол.

Input

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

Output

Тонгорогсон тоо.

Example

Input:
1234

Output:
4321

Нэмсэн:Bataa
Огноо:2013-01-09
Хугацааны хязгаарлалт: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-04-08 07:33:21
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:33:17
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:33:10
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:33:01
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:32:56
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:32:51
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:32:47
#include<stdio.h>
main()
{int n,s,d,min;
scanf("%d",&n); s=0;
while(n!=0) { d=n%10; printf("%d",d); n=n/10;}
}
2024-04-08 07:32:27
i'll touch u
2024-04-08 04:52:04













































































































Last edit: 2024-04-08 04:52:31
2024-03-08 01:03:56
#include<stdio.h>
int main(){
int n,s,min=10;
scanf("%d",&n);
while(n>0){
if(n%10<min){
min=n%10;
}
n/=10;
}
printf("%d", min);
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.