Cod sursa(job #168687)
Utilizator | Data | 31 martie 2008 18:46:06 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.14 kb |
#include <fstream.h>
void main (){
long a, b;
ifstream f ("adunare.in");
ofstream f2 ("adunare.out");
f>>a;
f>>b;
f2<<a+b;
}