Cod sursa(job #324719)
Utilizator | Data | 16 iunie 2009 23:11:03 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
ifstream f;
ofstream g;
int main()
{
int a;
int b;
f.open("adunare.in");
g.open("adunare.out");
f >>a;
f >>b;
g <<a+b<< endl;
f.close();
g.close();
return 0;
}