Cod sursa(job #591444)

Utilizator rudarelLup Ionut rudarel Data 24 mai 2011 10:49:11
Problema Factorial Scor 5
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.31 kb
using namespace std;
#include <fstream>

int main()
{
        unsigned long int p = 0, n = 0;
        ifstream fin("fact.in");
        ofstream fout("fact.out");
        fin >> p;
        n = p * 5;
        fout << n << "\n";
        fin.close();
        fout.close();
        return 0;
}