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