Cod sursa(job #489429)
Utilizator | Data | 2 octombrie 2010 16:12:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
long int a,b;
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}