Cod sursa(job #1452605)

Utilizator teo234Teo Danu teo234 Data 21 iunie 2015 13:53:49
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.27 kb
#include <fstream>

using namespace std;

int main()
{
	ifstream fin("adunare.in");
	ofstream fout("adunare.out");
	
	int a;  
	int b; 
	int s; 
	
	fin >> a >> b;
	
	s = a + b;
	
	fout << s << '\n'; 
	
	fin.close();
	fout.close();
	
	return 0;
}