Cod sursa(job #200528)

Utilizator robigiirimias robert robigi Data 24 iulie 2008 14:36:17
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <fstream>
using namespace std;

ifstream f ("adunare.in");
ofstream g ("adunare.out");

int main()
{   long x, y;
    f >> x;
    f >> y;
    g << x+y << endl;
    f.close();
    g.close();
    return 0;
}