Cod sursa(job #612666)

Utilizator dmandyPogurschi Andrei dmandy Data 9 septembrie 2011 14:41:52
Problema A+B Scor 100
Compilator cpp Status done
Runda test_info20 Marime 0.26 kb
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long long a,b,c;
ifstream f1 ("adunare.in");
ofstream f2 ("adunare.out");
if (f1.is_open())
{
f1>>a>>b;                
}
c=a+b;
f2<<c;
f1.close();
f2.close();
return 0;
}