Cod sursa(job #2649816)

Utilizator naruto2002bogdan naruto2002 Data 16 septembrie 2020 15:50:59
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{   int a,b;
    f>>a;
    f>>b;
    g<<a+b;
    f.close();
    g.close();
}