Cod sursa(job #519148)

Utilizator lau166Amagdei Laurentiu lau166 Data 4 ianuarie 2011 09:13:38
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{
	ifstream k;
	k.open("adunare.in.txt");

	short int a,b;
	k>>a;
	k>>b;
	k.close();
	ofstream l;
	l.open("adunare.out.txt");
	l<<a+b;
	l.close();
}