Jane Street Jan 2023 Puzzle Solution C++