Cod sursa(job #738452)
Utilizator | Data | 20 aprilie 2012 14:35:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
long long a,b;
int main()
{
f >> a >> b;
a+=b;
g << a << '\n';
f.close();g.close();
return 0;
}