f 题的结论参照本文 [https://www.luogu.com.cn/article/cnlobt4b]