Cod sursa(job #7689)
| Utilizator | Data | 21 ianuarie 2007 22:31:10 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{long a,b,s;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}
