Cod sursa(job #739998)
Utilizator | Data | 24 aprilie 2012 13:46:22 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int a, b;
int main()
{
ifstream f("numere.in");
ofstream g("numere.out");
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}