Cod sursa(job #1253832)
| Utilizator | Data | 1 noiembrie 2014 21:06:51 | |
|---|---|---|---|
| Problema | Factorial | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream in("fact.in");
ofstream out("fact.out");
unsigned long int p;
in >> p;
out << 5 * (p-1);
return 0;
}
