Cod sursa(job #573092)
Utilizator | Data | 5 aprilie 2011 21:28:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.17 kb |
# include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a,b;
f>>a>>b;
g<<a+b<<'\n';
f.close();
g.close();
return 0;
}