Cod sursa(job #759081)
Utilizator | Data | 16 iunie 2012 16:29:24 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<fstream>
using namespace std;
int main()
{
int A,B;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>A;
fin>>B;
if(A+B<2000000000) fout<<A+B;
else fout<<"suma e prea mare";
fin.close();
fout.close();
return 0;
}