Cod sursa(job #532748)
Utilizator | Data | 12 februarie 2011 13:01:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{long a,b;
ifstream fin("adunare.in");
fin>>a>>b;
fin.close();
if(a+b<=2000000000)
{
ofstream fout("adunare.out");
fout<<a+b;
fout.close();
}
return 0;
}