Cod sursa(job #1131730)
| Utilizator | Data | 1 martie 2014 10:54:53 | |
|---|---|---|---|
| Problema | Factorial | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int N,P;
int main()
{ ifstream fin ("fact.in");
ofstream fout ("fact.out");
"N! = 1 * 2 * 3 * .... * (N-1) * N " ;
fin>>P;
fout<<N;
return 0;
}
