Cod sursa(job #53016)
Utilizator | Data | 20 aprilie 2007 18:20:50 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int a,b,s;
int main()
{ifstream f("adunare.in")
ofstream g("adunare.out")
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}