Cod sursa(job #1383828)
| Utilizator | Data | 10 martie 2015 18:06:25 | |
|---|---|---|---|
| Problema | Factorial | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
#include<iostream>
using namespace std;
fstream f("fact.in");
ofstream g("fact.out");
int p;
int main()
{f>>p;
g << 5*(p-1) << endl;
return 0;
}
