Cod sursa(job #282296)
Utilizator | Data | 17 martie 2009 12:21:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a;
f>>b;
g<<a+b<<'\n';
g.close();
return 0;
}