Cod sursa(job #679988)

Utilizator Pop-AdyPop Adrian Pop-Ady Data 13 februarie 2012 22:28:54
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<fstream>
using namespace std;

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