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

RGB7205 - n!

n! ол.

Input

Int төрлийн бүхэл тоо өгөгдөнө.

Output

Өгөгдсөн тооны факториал.

Example

Input:
5

Output:
120

Нэмсэн:Bataa
Огноо:2011-06-12
Хугацааны хязгаарлалт: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-11-28 12:22:33
.................................................................................................................................................................................................................................................................................... ................................................................................................... ........................................................................................... ................................ ...........................................................................................................................................................................................
2024-11-28 05:20:52
#include<stdio.h>
int main(){
int n,s=1,i;
scanf("%d",&n);
for(i=1;i<=n;i++){
s=s*i;
}
printf("%d",s);
return 0;
}
2024-11-28 05:07:27
haa
2024-11-27 13:06:30
Muu suga sdanuud
2024-11-27 13:06:28
Muu suga sdanuud
2024-11-27 04:22:40
pornoooo uz ynkn batsaaanuudaaqaa
2024-11-26 02:37:35
bnuu
2024-11-26 02:37:17
angarga
2024-11-26 02:36:34
bnuuuu
2024-11-26 02:35:29
sain2222222
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.