https://www.luogu.com.cn/blog/wangziminghedan/p3146-usaco16open248-ti-xie
rt,没有特判每个数都不相等的情况,例如 4 1 2 3 4 就会被卡掉。
4 1 2 3 4