Cod sursa(job #916030)

Utilizator anateodorastroeAna Teodora Stroe anateodorastroe Data 15 martie 2013 18:56:10
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <fstream>

using namespace std;

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