Cod sursa(job #2203166)

Utilizator alex719Topala Alexandru Ionut alex719 Data 11 mai 2018 11:22:34
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>

using namespace std;

fstream f("input.in", ios::in);
fstream g("output.out", ios::out);

int main()
{
    int x, y, sum;
    sum=0;
    f>>x>>y;
    sum=x+y;
    g<<sum;
    f.close();
    g.close();
    return 0;
}