Cod sursa(job #2974983)

Utilizator SomethingAndrei Marian Something Data 4 februarie 2023 23:30:40
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.27 kb
#include <iostream>
#include <fstream>

using namespace std;

ifstream fin("adunare.in");
ofstream fout("adunare.out");

int main() {
    int a, b, s;
    fin >> a >> b;
    fin.close();
    s = a + b;

    fout << s;
    fout.close();

    return 0;
}