Cod sursa(job #615286)
Utilizator | Data | 9 octombrie 2011 10:08:07 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}