跳到正文

题解

题目 AT_intro_heuristics_b

存档题解 1 篇按获赞排序

在洛谷打开

题解

  1. 0 赞

    题解:AT_intro_heuristics_b Scoring

    AT_intro_heuristics_b Scoring 题解 AT 传送门 洛谷传送门 思路 在初始状态下,所有竞赛类型的上次选择时间都被设为 -1,表示这些竞赛尚未被选择过。然后开始逐天计算满意度。对于每一天 d,首先加上当天选择的竞赛 t_d 的直接满意度,即 S_d,t…