Cod sursa(job #2029232)
Utilizator | Data | 29 septembrie 2017 18:38:58 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream>
#include<math.h>
#include<algorithm>
using namespace std;
int main()
{
ifstream fin("fact.in");
ofstream fout("fact.out");
int n,p,sum=1,k=1,i=5;
fin>>p;
fout<<p*5;
}