Cod sursa(job #1571837)
Utilizator | Popa Alexandra-Ioana alexandra.ioana.popa | Data | 18 ianuarie 2016 16:11:48 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int a, b, s;
int main()
{
fin>>a;
fin>>b;
s=a+b;
fout<<s<<'\n';
fin.close();
fout.close();
return 0;
}