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