Cod sursa(job #2485052)

Utilizator GeorgeStreyStresna George GeorgeStrey Data 31 octombrie 2019 22:02:41
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.34 kb
#include <iostream>
#include<fstream>

using namespace std;

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

int main()
{
    int a ;
    int b ;
    int c ;
    fin>> a ;
    fin>>b ;
    c = a + b ;
    if (c < 2000000000)
    {
        fout << c << endl;
    }
    fin.close();
    fout.close ();
    return 0;
}