Cod sursa(job #625374)
Utilizator | Data | 24 octombrie 2011 14:37:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int main()
{
long A ,B ;
fstream f("adunare.in",ios::in) ;
fstream g("adunare.out",ios::out) ;
f>>A>>B ;
g<<A+B ;
f.close() ;
g.close();
return 0;
}