Cod sursa(job #2693923)
| Utilizator | Data | 7 ianuarie 2021 16:35:51 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main() {
int a, b, s = 0;
ifstream f("adunare.in.txt");
ofstream g("adunare.out");
f >> a;
f >> b;
s = a + b;
g << s;
f.close();
g.close();
}