Cod sursa(job #384950)
Utilizator | Data | 21 ianuarie 2010 20:54:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
int main ()
{int a,b;
fstream f;
fstream g;
f.open("adunare.in",ios::in);
g.open("adunare.out",ios::out);
f>>a;
f>>b;
g<<a+b;
f.close ();
f.close ();}