Cod sursa(job #232272)
Utilizator | 000000 mist | Data | 14 decembrie 2008 22:44:23 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long a, b;
ifstream in("adunare.in");
in >> a;
in >> b;
in.close();
ofstream out("adunare.out");
out << (a + b);
out.close();
return 0;
}