Cod sursa(job #1653)
Utilizator | Data | 14 decembrie 2006 10:52:04 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int main(void)
{
long int a,b;
f1>>a>>b;
f2<<a+b<<endl;
f1.close();
f2.close();
return 0;
}