Cod sursa(job #16944)
Utilizator | Data | 14 februarie 2007 15:39:48 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
long a,b,s;
int main()
{ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
ofstream g("adunare.out") ;
g<<s<<endl;
f.close();g.close();
return 0;
}