Cod sursa(job #413049)
Utilizator | Data | 7 martie 2010 15:10:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main(void)
{long int a,b;
fstream f("adunare.in",ios::in),
g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();g.close();
}