Cod sursa(job #1343586)

Utilizator mihaelamihaiuMihaela Mihaiu mihaelamihaiu Data 15 februarie 2015 17:14:55
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    ifstream x("fisier.in");
    ofstream y("fisier.out");


    int a,b;
    x>>a;
    x>>b;
    y<<a+b;

    x.close();
    y.close();

    return 0;


}