Cod sursa(job #1091710)

Utilizator costty94Duica Costinel costty94 Data 25 ianuarie 2014 22:40:41
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;
}