Cod sursa(job #136521)
Utilizator | Data | 15 februarie 2008 17:31:57 | |
---|---|---|---|
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()
{
long a,b,c;
fstream f("adunare.in",ios::in);
f>>a;
f>>b;
f.close();
fstream g("adunare.out",ios::out);
c=a+b;
g<<c;
g.close();
}