Cod sursa(job #566052)
Utilizator | Data | 28 martie 2011 16:51:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.18 kb |
#include "fstream.h"
using namespace std;
int main()
{
long a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
return 0;
}