Cod sursa(job #1155419)

Utilizator ivyleague24Popescu Ion ivyleague24 Data 26 martie 2014 21:36:54
Problema Factorial Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<iostream.h>
#include<fstream.h>
int main()
{
	int k,f=1;
	ifstream in("factorial.in");
	ofstream out("factorial.out");
	in >> k;
	if(k==0)
		out<<"1";
	else
	{
		out<<5*k;
	}
	return 0;
}