Cod sursa(job #637087)

Utilizator horatiu11Ilie Ovidiu Horatiu horatiu11 Data 20 noiembrie 2011 11:46:54
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
# include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
long long s;
int main()
{
    f>>a;f>>b;
    f.close();
    s=a+b;
    g<<s<<'\n';
    g.close();
    return 0;
}