Cod sursa(job #73669)

Utilizator IeewIordache Bogdan Ieew Data 20 iulie 2007 11:32:20
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <fstream>
using namespace std;
#define InFile "adunare.in"
#define OutFile "adunare.out"
long a,b;
int main()
{
ifstream in(InFile);
in>>a>>b;
in.close();
ofstream out(OutFile);
out<<a+b<<'\n';
out.close();
return 0;
}