Cod sursa(job #525188)
Utilizator | Data | 24 ianuarie 2011 17:03:00 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream>
int main()
{
int a,b;
fstream fin("adunarein.txt",ios::in);
fstream fout("adunareout.txt",ios::out);
fin>>a>>b;
fout<<(a+b);
fin.close();
fout.close();
return 0;
}