Cod sursa(job #530086)
Utilizator | Data | 6 februarie 2011 20:09:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{ f>>a>>b; f.close();
g<<a+b<<"\n";
g.close();
return 0;
}