Cod sursa(job #1358241)
| Utilizator | Data | 24 februarie 2015 14:43:39 | |
|---|---|---|---|
| Problema | Factorial | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include<fstream>
using namespace std;
unsigned long long p;
int main()
{
ifstream f("fact.in");
ofstream g("fact.out");
f>>p;
if(p==1)g<<"1";
else
g<<p*5;
return 0;
}
