Cod sursa(job #2521514)
Utilizator | Data | 10 ianuarie 2020 23:49:02 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream p("adunare.out");
int a, b;
f >> a;
f >> b;
if ((a +b) < 2000000000)
{
p << (a+b);
}
f.close();
p.close();
return 0;
}