Cod sursa(job #364831)
Utilizator | Data | 17 noiembrie 2009 03:09:25 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
int x;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
f>>a;
f>>b;
a+=b;
g<<a;
g.close();
return 1;
}