Cod sursa(job #2749172)
| Utilizator | Data | 5 mai 2021 16:30:20 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.3 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char const *argv[]) {
ifstream f_in;
ofstream f_out;
int a,b, sum;
f_in.open("adunare.in");
f_out.open("adunare.out");
f_in >> a >> b;
sum = a + b;
f_out << sum;
f_in.close();
f_out.close();
return 0;
}
