Cod sursa(job #294711)
Utilizator | Data | 2 aprilie 2009 18:33:23 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void main()
{
int a,b,s=0;
ifstream f("date.in",ios::in);
ofstream g("date.out",ios::out);
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();g.close();
}