Cod sursa(job #215168)
Utilizator | Data | 17 octombrie 2008 18:26:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream.h>
#include <stdlib.h>
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long int a,b;
int main()
{f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}