Cod sursa(job #613608)
Utilizator | Poenar Radu PoenarRadu | Data | 1 octombrie 2011 15:52:18 |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream.h>
#include <iostream>
using namespace std;
int main ()
{
int a,b;
ifstream f("adunate.in");
ofstream g("adunate.out");
f>>a;
f>>b;
f.close();
g<<(a+b);
g.close();
return 0;
}