Cod sursa(job #228831)
Utilizator | Data | 8 decembrie 2008 13:20:53 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,c;
int main()
{ f>>a>>b;
f.close();
g<<(a+b);
g.close();
return 0;
}