C++ test tasks