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-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
2022-03-11 01:23:49
SHA2 PIZDSA IIM YUM BODOJ CHADAHGU
2022-01-05 04:58:30
#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;
}
hatnaa !!!
2021-10-18 11:15:51
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int sum = 1;
int n = sc.nextInt();
for (int i = 1; i <= n; i++) {
sum*=i;
}
System.out.println(sum);
System.out.println("KILL YOURSELVES YOU FUCKING NIGGERS");
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.