Cod sursa(job #108197)
Utilizator | Data | 21 noiembrie 2007 20:35:46 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
int main()
{ long s,a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
s=a+b;
ofstream g("adunare.out");
g<<s;
g.close();
return 0;
}