Cod sursa(job #2886024)
Utilizator | Data | 6 aprilie 2022 21:26:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main() {
int a, b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
g << a + b;
f.close();
g.close();
}