Cod sursa(job #827577)
Utilizator | Data | 2 decembrie 2012 12:30:52 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream fin("fact.in");
ofstream fout("fact.out");
int main ()
{
long long p;
fin>>p;
fout<<5*p;
fin.close();
fout.close();
return 0;
}