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