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