Cod sursa(job #495553)
Utilizator | Data | 25 octombrie 2010 19:55:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream>
using namespace std;
int main()
{
int a,b,c=0;
ifstream f ("adunare.in");
f>>a>>b;
c=a+b;
ofstream g ("adunare.out");
g<<c;
f.close();
g.close();
return 0;
}