Cod sursa(job #693200)

Utilizator MihaelMihaela Catalina Mihael Data 27 februarie 2012 10:48:21
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 f("adunare.in");
    ofstream g("adunare.out");
    int a,b;
    f>>a>>b;
    g<<a+b<<endl;
    f.close();
    g.close();
    system("pause");
    return 0;
}