Cod sursa(job #895852)
Utilizator | Data | 27 februarie 2013 12:47:30 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f >> a;
f >> b;
g << a + b << endl;
}
return 0;