Cod sursa(job #1388393)
Utilizator | Data | 15 martie 2015 13:58:40 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
main()
{ long int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
if(a+b<2000000000)
g<<a+b;
f.close();
g.close();
}