Cod sursa(job #175141)
Utilizator | Data | 9 aprilie 2008 17:03:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{
fstream f("C:\\adunare.in",ios::in),g("C:\\adunare.out",ios::out);
long int a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}