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