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
2023-12-15 08:50:52
#include <iostream>
using namespace std;
int mult (int a){
if (a==1)
return a;
else
return mult (a-1)*a;
}
int main (){
int a,b,c,d;
cin>>a;
c=mult(a);
cout<<c;
}
oilgohn oilgood huul2
2023-12-09 08:13:28
I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers v I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers v I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers v v I really hate niggersI really hate niggers v I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers I really hate niggers
2023-11-27 06:29:45
#include<bits/stdc++.h>
using namespace std;
int main(){
long i, n, s=1;
cin>>n;
for(i=1; i<=n; i++){
s=s*i;
} cout<<s;
}
2023-11-25 11:16:08
huul2























































































































































































































































































































































































































































































































































































































































































































































































































yana uusan uchraas huulaad bgamu XD

2023-11-22 09:18:06
#include<bits/stdc++.h>
using namespace std;
int main(){
long i, n, s=1;
cin>>n;
for(i=1; i<=n; i++){
s=s*i;
} cout<<s;
}
2023-11-22 07:28:22
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you
We've known each other for so long
Your heart's been aching but you're too shy to say it
Inside we both know what's been going on
We know the game and we're gonna play it
And if you ask me how I'm feeling
Don't tell me you're too blind to see
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you
Never gonna give, never gonna give
(Give you up)
We've known each other for so long
Your heart's been aching but you're too shy to say it
Inside we both know what's been going on
We know the game and we're gonna play it
I just wanna tell you how I'm feeling
Gotta make you understand
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
2023-11-21 07:50:17



































































































































































































































































































































































































































































2023-11-21 07:25:57 (
2023-10-06 06:28:48





























































































j






j





j









j






































































































































































































sont huul you stupid ass nigga









2023-07-20 08:21:39
#include <stdio.h>

int main() {
int n;
scanf("%d", &n);

int factorial = 1;
for (int i = 1; i <= n; i++) {
factorial *= i;
}

printf("%d\n", factorial);

return 0;
2023-05-29 07:13:40
#include<iostream>
using namespace std;
main(){
int n, t=1, i=1;
cin>>n;
while(n>=i){
t=t*i;
i++;
}
cout<<t;
return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.