Cod sursa(job #1798274)
Utilizator | Data | 5 noiembrie 2016 08:35:33 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.32 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
int a, b;
ifstream myFileIn;
ofstream myFileOut;
myFileIn.open("myFileIn.in");
myFileIn >> a >> b;
myFileIn.close();
myFileOut.open("myFileOut.out");
myFileOut << a + b;
myFileOut.close();
return 0;
}