Cod sursa(job #1181835)
Utilizator | Data | 3 mai 2014 22:27:15 | |
---|---|---|---|
Problema | Factorial | Scor | 10 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f;
ofstream g;
long int n,k,p,i;
main()
{
f.open("fact.in");
g.open("fact.out");
f>>p;
g<<-1;
g.close();
}