Cod sursa(job #324940)
Utilizator | Data | 18 iunie 2009 03:28:57 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.17 kb |
#include<fstream.h>
void main()
{
ifstream x("datein.txt",ios::in);
ofstream y("dateout.txt",ios::out);
int s,a,b;
x>>a>>b;
s=a+b;
y<<s;
x.close();
y.close();
}