Cod sursa(job #1104757)

Utilizator tibipopTiberiu Pop tibipop Data 10 februarie 2014 23:31:32
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <fstream>

using namespace std;

int main()
{
    ifstream f ("adunare.in");
    int x, y;
    f>>x>>y;
    f.close();
    ofstream g ("adunare.out");
    g<<x+y<<"\n";
    g.close();
    return 0;
}