Cod sursa(job #708603)
Utilizator | Data | 6 martie 2012 22:59:42 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
using namespace std;
int main ()
{
long a,b,c;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
f>>a>>b;
f.close();
c=a+b;
g<<c;
g.close();
}