Cod sursa(job #927096)
Utilizator | Data | 25 martie 2013 16:19:10 | |
---|---|---|---|
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 >> b;
s = a + b;
fout << s;
fin.close();
fout.close();
return 0;
}