Cod sursa(job #1376822)
Utilizator | Data | 5 martie 2015 19:00:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
using namespace std;
int a,b;
int main ()
{
ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
fin >> a >> b;
a+=b;
fout << a << '\n';
fin.close();
fout.close();
return 0;
}