Cod sursa(job #663411)
Utilizator | Data | 18 ianuarie 2012 14:39:49 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream f("suma.in");
ofstream g("suma.out");
long a,b,S;
f>>a>>b; S=a+b;
g<<S;
f.close();
g.close();
return 0;
}