Cod sursa(job #3128479)

Utilizator robertfedusRobert Fedus robertfedus Data 9 mai 2023 17:00:57
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>

std::ifstream f("adunare.in");
std::ofstream g("adunare.out");

int main()
{
        int a, b;

        f >> a >> b;

        g << a + b;

        f.close();
        g.close();

        return 0;
}