Cod sursa(job #197458)
Utilizator | Data | 4 iulie 2008 11:48:03 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
int main(){
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
long int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}