Cod sursa(job #928156)
Utilizator | Data | 26 martie 2013 11:56:01 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
int main ()
{
int a, b, s;
ifstream fin("adunare.in");
fin >> a >> b;
fin.close();
s = a + b;
ofstream fout("adunare.out");
fout << s;
fout.close();
return 0;
}