Cod sursa(job #197460)
| Utilizator | Data | 4 iulie 2008 11:55:46 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
long int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}