Cod sursa(job #139856)
Utilizator | Data | 20 februarie 2008 20:32:31 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 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;
}