Cod sursa(job #1345276)

Utilizator MitroiCiprianMitroi Ciprian-Andrei MitroiCiprian Data 17 februarie 2015 14:52:43
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>

using namespace std;

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

int main()
{
    int a,b,s;

    f>>a>>b;

    s=a+b;

    g<<s;



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

    return 0;
}