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-05-13 04:12:47
int a,b,s=0;
cin>>a;
while(a>0){
b=a%10;
s=s*10+b;
a=a/10;
}
cout<<s;



huulah
muuhai shuuu
2024-05-13 04:08:51
huulaarai guys
int a,s=0,b;
cin>>a;
while(a>0){
b=a%10;
s=s*10+b;
a=a/10;
}
cout<<s;
2024-05-13 03:44:41
rawr
2024-04-08 07:36:14
#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:36:09
#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: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;}
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.