Cod sursa(job #795428)
Utilizator | Data | 8 octombrie 2012 19:44:27 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int main()
{
int x;
ifstream in("fact.in");
ofstream out("fact.out");
in >> x;
out << x*5;
in.close();
out.close();
return 0;
}