Cod sursa(job #250639)

Utilizator naxaderEmilian Victor Stincu naxader Data 31 ianuarie 2009 13:49:24
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <fstream.h>

int main()
{
 ifstream intrare("adunare.in");
 ofstream iesire("adunare.out");
 
 long int a,b,suma;
 
 intrare>>a>>b;
 suma = a + b;
 iesire<<suma;
 
 intrare.close();
 iesire.close();
 
 return 0;   
}