@[2418787423zjk](/user/1048638) 首先,没开`long long`,其次,$x$ 取最大的那个再暴力是不是比较好。 by qwertim @ 2023-09-12 13:21:47