Cod sursa(job #743909)

Utilizator GabiBGSBlaga Florentin Gabriel GabiBGS Data 6 mai 2012 19:08:31
Problema A+B Scor 0
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;
}