Cod sursa(job #388305)
Utilizator | Data | 29 ianuarie 2010 19:27:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
int main()
{
f >> a >> b;
g << (a+b);
g.close();
return 0;
}