Cod sursa(job #507778)

Utilizator Alexandru13Dumitraiche Marius-Alexandru Alexandru13 Data 6 decembrie 2010 19:22:16
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.35 kb
#include <fstream>
using namespace std;
#define InPut "adunare.in"
#define OutPut "adunare.out"

int a, b;

int main()
{
           ifstream fin ( InPut );
           ofstream fout ( OutPut );
           
           fin >> a >> b;
           fout << a + b;
           
           fin.close();
           fout.close();

           return 0;
}