Cod sursa(job #332897)
Utilizator | Data | 20 iulie 2009 21:30:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.2 kb |
#include <fstream.h>
#include <math.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s=0;
f>>a>>b;
cout<<"suma:"<<a+b;
g<<a+b;
f.close();
g.close();
return 0;
}