Cod sursa(job #219576)
Utilizator | Data | 7 noiembrie 2008 16:57:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream.h>
#include <fstream.h>
int main()
{
long a,b,s;
ifstream fin("adunare.in");
fin>>a>>b;
fin.close();
s=a+b;
ofstream fout("adunare.out");
fout<<s;
fout.close();
return 0;
}