【C++滑动窗口 】2831. 找出最长等值子数组|1975https://blog.csdn.net/he_zhidan/article/details/142670893?spm=1001.2014.3001.5501