Cod sursa(job #179253)
Utilizator | Data | 15 aprilie 2008 19:23:42 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<math.h>
fstream f("adunare.in",ios::in)
fstream g("adunare.out",ios::out)
long A,B
int main()
{
f>>A;f>>B;
f.close();
g<<A+B;
g.close();
return();
}