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