Cod sursa(job #1979878)

Utilizator AndreiAndBerechet Andrei AndreiAnd Data 11 mai 2017 16:50:06
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.29 kb
#include <iostream>
#include <fstream>
using namespace std;



int main()
{
    ifstream in("adunare.in");
    ofstream out("adunare.out");

    int a, b, c;
    in >> a >> b;

    c = a + b;

    out << c;
    out << '\n';

    in.close();
    out.close();

    return 0;
}