Cod sursa(job #404583)
Utilizator | Data | 26 februarie 2010 12:45:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream.h>
#include<iostream.h>
long a,b;
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b<<endl;
f.close();
g.close();
}