Cod sursa(job #2693931)
Utilizator | Data | 7 ianuarie 2021 16:55:16 | |
---|---|---|---|
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() {
int a, b, s = 0;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a;
f >> b;
s = a + b;
g << s;
f.close();
g.close();
}