Cod sursa(job #492353)
Utilizator | Data | 14 octombrie 2010 10:18:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int x,y;
int main()
{f>>x>>y; f.close();
x+=y;
g<<x<<'\n'; g.close();
return 0;
}