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