Cod sursa(job #140242)
Utilizator | Data | 21 februarie 2008 16:18:25 | |
---|---|---|---|
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");
fin>>a>>b;
ofstream fout("adunare.out");
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}