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