Cod sursa(job #854852)
Utilizator | Data | 14 ianuarie 2013 10:37:17 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int x,y;
f>>x;
f>>y;
g<<x+y;
f.close();
g.close();
return 0;
}