Cod sursa(job #521518)
Utilizator | Data | 12 ianuarie 2011 19:04:02 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<fstream>
using namespace std;
int main()
{
int S,a,b;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
f>>a;
f>>b;
S=a+b;
g<<S;
f.close();
g.close();
return 0;
}