Cod sursa(job #221232)

Utilizator ReVaNgErDumitru Alin ReVaNgEr Data 15 noiembrie 2008 00:51:19
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream.h>

int main()
{
	ifstream fin("adunare.in")  ;
	ofstream fout("adunare.out") ;
	int a, b;
	int s = 0;
	fin >> a >> b;
	s = a + b;
	fout << s;

	fin.close();
	fout.close();

	return 0;
}