原题 https://www.luogu.com.cn/problem/P2661