Cod sursa(job #869602)

Utilizator sebinechitasebi nechita sebinechita Data 1 februarie 2013 20:38:17
Problema Factorial Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.29 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    ifstream fin("fact.in");
    ofstream fout("fact.out");
    int n,x=1,z=1,m=1;
    fin>>n;
    if(n>0)
    {
        m=n*5;
    }

    cout<<m;

    fin.close();
    fout.close();
    return 0;
}