Cod sursa(job #214691)
Utilizator | Data | 15 octombrie 2008 17:33:29 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in",ios::in);
ofstream g("adunare.out",ios::out);
int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}