Cod sursa(job #901686)

Utilizator djmafy2000Andrei djmafy2000 Data 1 martie 2013 11:16:55
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <fstream>

using namespace std;

int main()
{   long long a,b,s;
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f>>a>>b;
    s=a+b;
    g<<s;g<<'\n';
    f.close();g.close();
    return 0;
}