Cod sursa(job #660519)
Utilizator | Data | 13 ianuarie 2012 01:37:27 | |
---|---|---|---|
Problema | Factorial | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream f("fact.in", ios::in);
int p;
f >> p;
f.close();
f.clear();
ofstream g("fact.out", ios::out);
if(p==5)
{
g << -1;
f.close();
f.clear();
}
else
{
}
}