Cod sursa(job #597402)

Utilizator StanAndreiAndrei Stan StanAndrei Data 22 iunie 2011 00:19:54
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include <iostream.h>
#include <fstream.h>

int main()
{
	long long S;
	int a,b;
	ifstream f1("adunare.in");
	ofstream f2("adunare.out");
	f1>>a>>b;
	S=a+b;
	f2<<S;
	f1.close();
	f2.close();
}