Cod sursa(job #823870)
Utilizator | Cobuz Ionut-Alexandru CobuzIonut | Data | 25 noiembrie 2012 17:57:25 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | teme_upb | Marime | 0.26 kb |
#include<fstream>
#include<iostream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main()
{
int a,b,s=0;
fin>>a>>b;
s=a+b;
if(s<2000000000)fout<<s;
fin.close();
fout.close();
return 0;
}