Cod sursa(job #442582)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 14 aprilie 2010 20:33:13
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include<fstream.h>
void main(){
ifstream file;
ofstream file2;
long a,b;

file.open("adunare.in");
file2.open("adunare.out");
file>>a;
file>>b;
file2<<a+b;
file.close();
file2.close();


file.close();
}