http://kaispace.com.cn/index.php/archives/694/
【题解】CF1398E