C++ Buharaev Tasks