Cod sursa(job #392577)
Utilizator | Data | 7 februarie 2010 19:31:10 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream input;
ofstream output;
input.open("numere.in");
output.open("numere.out");
int a, b;
input >> a;
input >> b;
output << a+b;
input.close();
output.close();
system("pause");
return 0;
}