AK C++题解: https://www.nowcoder.com/discuss/509200?type=post&order=create&pos=&page=0&channel=666&source_id=search_post