Cod sursa(job #1001572)
Utilizator | Data | 25 septembrie 2013 16:07:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int a,b;
int main()
ifstream f("adunare.in");
ofstream g("adunare.out");
{
f>>a>>b;
g<<a+b<<'\n';
f.close()
g.close()
return 0;
}