codeeval 42 C++