Borderou de evaluare (job #1764873)

Utilizator andreioneaAndrei Onea andreionea Data 26 septembrie 2016 01:01:20
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘Arbint::Arbint(int, int, const std::vector<int>&)’: user.cpp:65:17: error: ‘make_unique’ is not a member of ‘std’ left_child = std::make_unique<Arbint>(left, middle, vals); ^ user.cpp:65:40: error: expected primary-expression before ‘>’ token left_child = std::make_unique<Arbint>(left, middle, vals); ^ user.cpp:65:48: warning: left operand of comma operator has no effect [-Wunused-value] left_child = std::make_unique<Arbint>(left, middle, vals); ^ user.cpp:65:56: warning: right operand of comma operator has no effect [-Wunused-value] left_child = std::make_unique<Arbint>(left, middle, vals); ^ user.cpp:66:18: error: ‘make_unique’ is not a member of ‘std’ right_child = std::make_unique<Arbint>(middle + 1, right, vals); ^ user.cpp:66:41: error: expected primary-expression before ‘>’ token right_child = std::make_unique<Arbint>(middle + 1, right, vals); ^ user.cpp:66:50: warning: left operand of comma operator has no effect [-Wunused-value] right_child = std::make_unique<Arbint>(middle + 1, right, vals); ^ user.cpp:66:62: warning: right operand of comma operator has no effect [-Wunused-value] right_child = std::make_unique<Arbint>(middle + 1, right, vals); ^

Ceva nu functioneaza?