Cod sursa(job #358011)
Utilizator | Data | 21 octombrie 2009 18:07:00 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
void main()
{
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}