Cod sursa(job #389514)
Utilizator | Data | 1 februarie 2010 19:42:21 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{int a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}