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
2022-10-13 06:38:32
gagaghwdhasgdhuadusadhuabshbh
2022-10-13 04:07:15
#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
int i,a,b=1;
cin >> a;
for(i=1; i<=a; i++)
b *= i;
cout << b;
return 0;
}
2022-09-04 09:36:50
your mom is niger

Last edit: 2022-09-04 09:38:16
2022-08-27 06:08:57
nothing much quite frankly hbu
2022-06-22 12:36:17
What are you doin bro?
-Anand
2022-06-02 16:14:39
Scanner in = new Scanner(System.in);
int a,fac=1;
a = in.nextInt();
for(int i=1; i<=a; i++)
{

fac = fac * i;
}
System.out.println(fac);
2022-05-06 06:15:52
a=int(input())
b=1
c=1
for c in range(c,a+1,1):
b=b*c
print(b)
2022-05-02 08:27:41
a=int(input())
b=1
c=1
for c in range(c,a+1,1):
b=b*c
print(b)
2022-05-02 08:27:41
a=int(input())
b=1
c=1
for c in range(c,a+1,1):
b=b*c
print(b)
2022-04-14 13:50:32
uhsen nohoi anujing bavnaa sda
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.