Cod sursa(job #2348045)
Utilizator | Data | 19 februarie 2019 12:18:39 | |
---|---|---|---|
Problema | Factorial | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.46 kb |
#include <iostream>
#include <fstream>
#include <math.h>
using namespace std;
long int v[1000005];
int factorial(int p)
{
long long int i,j,s=0,x=1,y=5,f;
p=p*10;
for(i=1;i<=p;i++)
for(j=1;j<=p;j++)
if(v[i]*v[j])
}
int main()
{
ifstream fin("factorial.in");
ofstream fout("factorial.out");
long long int p,n;
fin>>p;
n=factorial(p);
fout<<n;
fin.close();
fout.close();
}