Cod sursa(job #265878)
| Utilizator | Data | 24 februarie 2009 18:10:43 | |
|---|---|---|---|
| Problema | Factorial | Scor | 5 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
using namespace std;
int main()
{
int n,i;
ifstream fin("fact.in");
fin>>n;
ofstream fout("fact.out");
fout<<n*5;
fin.close();
fout.close();
return 0;
}
