@[gzhgzhgzh](/user/695577) - DAG 上 DP 不是这样写的 - `for(int j=1;j<=mx;j++)` 应为 `for(int j=最小的x;j<=mx;j++)` by 喵仔牛奶 @ 2023-05-20 11:04:25