Cod sursa(job #288085)
Utilizator | Data | 25 martie 2009 15:48:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
void main()
{
unsigned long a,b,s=0;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<"suma celor doua numere a+b="<<s;
f.close();
g.close();
}