Cod sursa(job #3152260)

Utilizator teo16Teo Manoiu teo16 Data 24 septembrie 2023 14:47:51
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    int a,b;
    f>>a;
    f>>b;
    g<< a+b;
    f.close();
    g.close();
    return 0;
}