如果你 TLE #2#3,请尝试如下配置:
块长 850850850,开 ios::sync_with_stdio(0),不用 memset 或 fill 而是逐个撤销数字。
ios::sync_with_stdio(0)
memset
fill