Cod sursa(job #317628)
Utilizator | Data | 24 mai 2009 13:29:32 | |
---|---|---|---|
Problema | Factorial | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
ifstream f("fact.in");
ofstream g("fact.out");
long long p,n;
float z;
f>>p;
if(p<0) p=p*-1;
z=p/2;
n=10*z;
g<<p;
return 0;
}