Cod sursa(job #316862)
Utilizator | Data | 21 mai 2009 13:16:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
#include <math.h>
using namespace std;
int main ()
{
long a, b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close ();
ofstream g("adunare.out");
g<<a+b;
g.close ();
}