Cod sursa(job #99542)
Utilizator | Data | 11 noiembrie 2007 12:37:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream>
void main()
{ long a,b,s;
ifstream f("adunare.in");
f>>a>>b; f.close();
s=a+b;
ofstream g("adunare.out");
g<<s;
g.close();
}