Cod sursa(job #305225)
Utilizator | Data | 16 aprilie 2009 18:17:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
int main(){
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 1;
}