Cod sursa(job #364776)
Utilizator | Data | 16 noiembrie 2009 22:13:09 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
int main()
{
f>>a;
f>>b;
s=a+b;
g<<s<<endl;
f.close();
g.close();
return 0;
}