Cod sursa(job #789857)
Utilizator | Data | 19 septembrie 2012 17:47:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
main ()
{
f>>a;
f>>b;
f.close();
g<<a+b;
g.close();
return 0;
}