Cod sursa(job #351110)

Utilizator yrarBogdan Ionut yrar Data 26 septembrie 2009 21:05:44
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include<fstream>
using namespace std;
int main() 
{ long a, b, s;
  ifstream f("adunare.in");
  ofstream g("adunare.out");
  f>>a>>b;
  s=a+b;
  g<<s;
  f.close();
  g.close();
  return 0;
}