codeeval 77 C++