Cod sursa(job #291612)
Utilizator | Data | 30 martie 2009 08:39:52 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | The Beginners | Marime | 0.16 kb |
#include "fstream.h"
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}