Cod sursa(job #275070)
Utilizator | Data | 10 martie 2009 10:38:50 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
void main()
{
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int a,b,s;
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
}