Cod sursa(job #74931)
Utilizator | Data | 29 iulie 2007 18:20:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
long int a,b;
ofstream fout("adunare.out");
int main()
{
ifstream fin("adunare.in");
long int s;
fin>>a;
fin>>b;
s=a+b;
fout<<s;
return 0;
}