Cod sursa(job #596519)
Utilizator | Data | 17 iunie 2011 16:36:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
using namespace std;
int main()
{
int a,b;
ifstream in;
in.open("adunare.in");
in>>a>>b;
in.close();
ofstream of;
of.open("adunare.out");
of<<(a+b);
of.close();
return 0;
}