Cod sursa(job #629038)
Utilizator | Data | 2 noiembrie 2011 16:34:20 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
int main()
{
long a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<a+b<<'\n';
g.close();
return 0;
}