Cod sursa(job #596642)
Utilizator | Data | 18 iunie 2011 10:09:31 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
int main (){
long a,b;
ifstream f("adunare.in");
ofstream h("adunare.out");
f>>a>>b;
h<<a+b;
f.close();
h.close();
return 0;
}