Cod sursa(job #305224)
| Utilizator | Data | 16 aprilie 2009 18:16:15 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | 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;
}