Cod sursa(job #304350)
Utilizator | Data | 12 aprilie 2009 10:35:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
#include <conio.h>
int main()
{
clrscr();
fstream f("adunare.in",ios::in),g("adunare.out",ios::out);
int a,b,s=0;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}