Cod sursa(job #176368)
Utilizator | Data | 11 aprilie 2008 09:28:49 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{
long a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b<<"\n";
g.close();
return 0;
}