Cod sursa(job #1094075)

Utilizator AmDBArmand Boer AmDB Data 28 ianuarie 2014 21:25:27
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <iostream>
#include <fstream>

using namespace std;

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