Cod sursa(job #2446548)

Utilizator CroiCroitoru Andrei Croi Data 9 august 2019 17:11:50
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=0;
    f>>a>>b;
    s=a+b;
    g<<s;
    f.close();
    g.close();
    return 0;
}