Cod sursa(job #1351040)

Utilizator unimadaraUNIBUC sulzandrei alexandru.ghergut Yusuke unimadara Data 21 februarie 2015 09:32:32
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream>

using namespace std;

int main()
{
    ifstream f("adunare.in");
    int A, B;
    f >> A >> B;
    f.close();

    ofstream g("adunare.out");
    g << A + B;
    g.close();
    return 0;
}