Cod sursa(job #708447)

Utilizator Hunter6699Szekeres Szabolcs Hunter6699 Data 6 martie 2012 20:16:52
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>
#include <fstream>
using namespace std;

int main(){
	ifstream befile("adunare.in");
	ofstream kifile("adunare.out");
	long int a,b;
	befile>>a;
	befile>>b;
	long int c=a+b;
	kifile<<c;
	kifile.close();
}