Cod sursa(job #2390194)
Utilizator | Data | 27 martie 2019 20:32:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Lista lui wefgef | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long int a, b, suma;
ifstream ifs("adunare.in");
ifs>>a>>b;
ifs.close();
suma = a + b;
ofstream ofs("adunare.out");
ofs<<suma;
return 0;
}