Cod sursa(job #723416)
Utilizator | Data | 25 martie 2012 14:31:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
long a,b,c;
f>>a>>b;c=a+b;
f.close();
ofstream g("adunare.out");
g<<c;
g.close();
return 0;
}