Cod sursa(job #2447655)

Utilizator biancaandreeacBianca Andreea Ciuche biancaandreeac Data 14 august 2019 10:26:59
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.28 kb
#include <iostream>
#include <fstream>
int main() {
    int a, b;
    std::ifstream fin;
    std::ofstream fout;
    
    fin.open("adunare.in");
    fout.open("adunare.out");

    fin >> a;
    fin >> b;
    fout << a + b << "\n";

    fin.close();
    fout.close();
    return 0;
}