Cod sursa(job #253922)

Utilizator Dj_AndreiAndrei Tudora Dj_Andrei Data 6 februarie 2009 13:38:33
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.18 kb
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main (){
f>>a;
f>>b;
s=a+b;
if(s<2000000000)
g<<s;
f.close();
g.close();
return 0;}