Cod sursa(job #191568)

Utilizator MiryBlueRadutoiu Miruna MiryBlue Data 27 mai 2008 13:11:13
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <iostream.h>
#include <fstream.h>
long a, b, s;
int main()
{
 fstream f("adunare.in", ios::in);
 fstream g("adunare.out", ios::out);
 f>>a;
 f>>b;
 f.close();
 s=a+b;
 g<<s;
 g.close();
 return 0;
}