Cod sursa(job #1958044)

Utilizator andreibodnarAndrei Bodnar andreibodnar Data 7 aprilie 2017 22:53:12
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.28 kb
#include <iostream>
#include <fstream>

using namespace std;

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

int main()
{
    int numar;
    int b;
    int c;
    fin >> b;
    fin >> numar;
    c = b + numar;
    fout << c << endl;


    return 0;
}