Cod sursa(job #2479926)
Utilizator | Data | 24 octombrie 2019 18:07:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fis1("adunare.in");
int a, b, s;
fis1 >> a >> b;
ofstream g("adunare.out");
s = a + b;
g << s;
g.close();
return 0;
}