Cod sursa(job #112495)
Utilizator | Data | 5 decembrie 2007 19:51:07 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main ()
{
ifstream fin("adunare.in");
int a,b;
fin>>a>>b;
fin.close();
ofstream fout("adunare.out");
fout<<a+b;
fout.close();
return 0;
}