Cod sursa(job #742777)
Utilizator | Data | 1 mai 2012 14:49:05 | |
---|---|---|---|
Problema | Factorial | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{
int p;
ifstream fin("fact.in");
ofstream fout("fact.out");
fin>>p;
fout<<(p-1)*5;
return 0;
}