Cod sursa(job #667894)
Utilizator | Data | 23 ianuarie 2012 21:26:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main () {
long a,b ;
ifstream f ("adunare.in") ;
f>>a>>b ;
f.close() ;
ofstream g ("adunare.out") ;
g<<a+b ;
g.close() ;
return 0 ;
}