Cod sursa(job #1430490)
Utilizator | Data | 8 mai 2015 15:31:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream file;
ofstream out;
file.open("adunare.in");
out.open("adunare.out");
int a,b;
file >> a;
file >> b;
out << (a + b);
return 0;
}