Cod sursa(job #743910)

Utilizator GabiBGSBlaga Florentin Gabriel GabiBGS Data 6 mai 2012 19:09:51
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(void)
{

    ifstream ifs;
    ofstream ofs;

    ifs.open("adunare.in");
    ofs.open("adunare.out");

    int a, b;

    ifs >> a >> b;

    ofs << a + b;
}