Cod sursa(job #1332047)

Utilizator bogdan1024bogdan bogdan1024 Data 1 februarie 2015 16:39:22
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()
{   long  a,b;
    ifstream f("adunare.in.txt");
    ofstream g("adunare.out.txt");
    f>>a>>b;
    g<<a+b;
    f.close();
    g.close();
    return 0;
}