Cod sursa(job #2743816)

Utilizator tibistoeStoenescu Tiberiu tibistoe Data 23 aprilie 2021 15:53:03
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>
#include <fstream>

using namespace std;

ifstream f("adunare.in");
ofstream g("adunare.out");

int main()
{
  int a, b, s;
  f>>a;
  f>>b;
  s=a+b;
  g<<s;
  f.close();
  g.close();
  return 0;
}