Cod sursa(job #800025)

Utilizator AlexandruGhergutAlexandru-Gabriel Ghergut AlexandruGhergut Data 20 octombrie 2012 16:37:55
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <fstream>
using namespace std;

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

    f.close();
    g.close();
    return 0;
}