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