Cod sursa(job #503410)
Utilizator | Data | 22 noiembrie 2010 20:44:59 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
#include<fstream.h>
long a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b;
f.close();g.close();
}