Cod sursa(job #825199)
Utilizator | Data | 27 noiembrie 2012 20:29:24 | |
---|---|---|---|
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 ()
{
int p;
fin>>p;
fout<<5*p;
fin.close();
fout.close();
return 0;
}