Cod sursa(job #2079684)

Utilizator RoyalFlush37Calin George-Adrian RoyalFlush37 Data 1 decembrie 2017 18:25:00
Problema A+B Scor 100
Compilator cpp 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()
{
    long a,b;

    f>>a>>b;
    g<<a+b;

    f.close();
    g.close();

    return 0;
}