Cod sursa(job #148047)
| Utilizator | Data | 3 martie 2008 20:54:56 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
int main()
{
unsigned long a,b,s;
ifstream in("adunare.in");
in>>a>>b;
in.close();
s=a+b;
ofstream out("adunare.out");
out<<s;
out.close();
return 0;
}