Cod sursa(job #551514)
Utilizator | Data | 10 martie 2011 20:36:10 | |
---|---|---|---|
Problema | Factorial | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<fstream.h>
int p;
void citire()
{
ifstream f;
f.open("fact.in");
f>>p;
f.close();
}
int main()
{
ofstream g;
g.open("fact.out");
g<<p*5;
g.close();
return 0;
}