摘要: 目录 Description State Input Output Solution Code Description 有 \(n\) 个节点,有 \(m\) 条边,有 \(Q\) 次操作 \(0\ u\ v\): 节点 \(u\) 的权值增加 \(v\) \(1\ u\): 输出与 \(u\) 相 阅读全文
posted @ 2021-10-28 19:29 Bcoi 阅读(77) 评论(0) 推荐(0)
摘要: 目录 Description State Input Output Solution Code Description 有一个图有 \(n\) 个节点,\(m\) 条边,每个点由它对应的编号和权值,初始时权值为编号,有 \(Q\) 次操作,可以将与 \(x\) 节点相连的所有节点的权值变为 \(x\ 阅读全文
posted @ 2021-10-28 16:59 Bcoi 阅读(135) 评论(0) 推荐(0)