Cod sursa(job #1988086)

Utilizator trifangrobertRobert Trifan trifangrobert Data 2 iunie 2017 01:34:11
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 a,b;

int main()
{
    f>>a>>b;
    g<<a+b<<"\n";
    g.close();
    f.close();
    return 0;
}