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