Cod sursa(job #675799)
Utilizator | Data | 8 februarie 2012 11:26:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
#include <iostream.h>
int main()
{
int a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
c=a+b;
g<<c;
f.close();
g.close();
return 0;
}