This problem is in Contest(s) below:
Contest 5636:鲁小文源 极值位置 课堂练习
Contest 5639:鲁小文源 极值及位置