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