Cod sursa(job #314775)
Utilizator | Gherzan Theodor telphan | Data | 12 mai 2009 22:10:12 |
---|---|---|---|
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("D:\\in.txt",ios::in);
fstream g("D:\\out.txt",ios::out);
f>>a>>b;
c=a+b;
g<<c<<endl;
}