Cod sursa(job #505845)

Utilizator daniel16Murariu Daniel daniel16 Data 4 decembrie 2010 10:59:37
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.19 kb
#include <fstream.h> 
int main() 
{ 
    
long a,b,s; 
ifstream f("adunare.in");    
ofstream g("adunare.out"); 
f>>a; 
f>>b;   
s=a+b; 
g<<s; 
f.close();  
g.close(); 
return 0; 
}