Cod sursa(job #288091)
Utilizator | Data | 25 martie 2009 15:52:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
int main()
{
unsigned long a,b,s=0;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s<<"\n";
f.close();
g.close();
return 0;
}