Cod sursa(job #135396)
Utilizator | Data | 13 februarie 2008 19:03:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 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;
}