Cod sursa(job #559005)
| Utilizator | Data | 17 martie 2011 15:53:54 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main ()
{ int a,b;
fstream f("adunare.in",ios::in);
fstream f2("adunare.out",ios::out);
f>>a;f>>b;
f2<<a+b;
f.close();
f2.close();
}
