Cod sursa(job #2714038)
Utilizator | Data | 1 martie 2021 10:47:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
#define fileIn "adunare.in"
#define fileOut "adunare.out"
using namespace std;
int main()
{
ifstream f(fileIn);
int a,b;
f >> a >> b;
ofstream g(fileOut);
g << a + b;
return 0;
}