https://www.luogu.com.cn/problem/CF1324E 唐氏题,关于hhh取模,每次分别加a[i]a[i]a[i]和a[i]−1a[i]-1a[i]−1,落在[l,r][l,r][l,r]中就加一,不需要任何脑子,建议降黄。