Compiler output
prog.cpp:46:6: warning: unused parameter '_this_line' [-Wunused-parameter]
prog.cpp: In function 'int GetRoot(int)':
prog.cpp:84:43: error: converting to 'std::stack<std::tuple<int, int, int> >::value_type {aka std::tuple<int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]'
prog.cpp: In function 'void Merge(int, int)':
prog.cpp:92:42: error: converting to 'std::stack<std::tuple<int, int, int> >::value_type {aka std::tuple<int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]'