Convert more completed problems to C++