Cod sursa(job #759951)
Utilizator | Data | 19 iunie 2012 21:13:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long long a,b,s;
int main()
{
f>>a>>b;
if (a+b<2000000000) s=a+b;
g<<s;
return 0;
}