Cod sursa(job #698079)

Utilizator Becu15Coca Cola Octavian Becu15 Data 29 februarie 2012 12:19:51
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<fstream>
using namespace std;
int main()
{
	int a,b,c,d;
	freopen ("adunare.in","r",stdin);
	scanf ("%i%i",&a,&b);
	c=a+b;
	d=c;
	freopen ("adunare.out","w",stdout);
	printf ("%i",d);
	return 0;
}