Cod sursa(job #96917)
Utilizator | Data | 4 noiembrie 2007 10:18:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
f.close();
if(a+b<=2000000000){ g<<a+b;
g.close();}
return 0;}