Cod sursa(job #139697)
Utilizator | Data | 20 februarie 2008 15:37:46 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<fstream.h>
using namespace std;
int main()
{long s,a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
s=a+b;
ofstream g("adunare.out");
g<<s;
g.close();
return 0;
}