Cod sursa(job #825411)
Utilizator | Data | 29 noiembrie 2012 08:28:26 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 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;
}