Cod sursa(job #270448)
| Utilizator | Data | 3 martie 2009 23:47:19 | |
|---|---|---|---|
| Problema | Factorial | Scor | 5 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.46 kb |
#include <iostream>
#include <fstream>
using namespace std;
const int MAX_SIZE=31457280/4;
int v[MAX_SIZE];
int k[MAX_SIZE];
int n;
ofstream g("fact.out");
inline void citire();
inline void add_data();
int main()
{
citire();
if(n==0)
{
g<<1;
g.close();
return 0;
}
add_data();
g.close();
return 0;
}
inline void add_data()
{
}
inline void citire()
{
std::ifstream f("fact.in");
f>>n;
f.close();
}
