Cod sursa(job #314779)
Utilizator | Gherzan Theodor telphan | Data | 12 mai 2009 22:22:49 |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int a,b,c;
void main()
{ fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
c=a+b;
g<<c;
}