Cod sursa(job #2783640)

Utilizator AlexandruGabrielAliciuc Alexandru AlexandruGabriel Data 14 octombrie 2021 20:22:03
Problema A+B Scor 30
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.29 kb
#include <bits/stdc++.h>

using namespace std;


/// fara 0/100 puncte challenge
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int a, b;

int main()
{
    fin >> a >> b;
    if (a >= 500)
        fout << 0;
    else
    {
        fout << a + b;
    }

    return 0;
}