Cod sursa(job #1798279)

Utilizator botondkozmanKozman Botond botondkozman Data 5 noiembrie 2016 08:52:24
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    int a, b;
    f>>a>>b;
    int adunare=a+b;
    g<<adunare;
    f.close();
    g.close();
}