Cod sursa(job #699499)
| Utilizator | Data | 29 februarie 2012 19:42:33 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Lista lui wefgef | Marime | 0.19 kb |
#include<fstream.h>
int main()
{
long a,b,s;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}