Cod sursa(job #1541343)

Utilizator suto_tamasSuto Tamas suto_tamas Data 3 decembrie 2015 22:29:27
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.26 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{   int a,b;
    ifstream be;
    be.open("bemenet.txt");
    be>>a>>b;
    ofstream ki;
    ki.open("kimenet.txt");
    ki<<a+b;
    be.close();
    ki.close();
    return 0;
}