Cod sursa(job #2252342)

Utilizator HunMakerFazekas Hunor HunMaker Data 2 octombrie 2018 18:38:53
Problema A+B Scor 100
Compilator cpp Status done
Runda marpmi_2018 Marime 0.26 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    int a,b;
    ifstream be;
    ofstream ki;
    be.open("adunare.in");
    be >> a;
    be >> b;
    be.close();
    ki.open("adunare.out");
    ki << a+b;
    ki.close();
}