随笔分类 - ACM-DFS
摘要:CSU "1908" The Big Escape Description There is a tree like prison. Expect the root node, each node has a prisoner, and the root node is the only exit.
阅读全文
摘要:CSU "2172" 买一送一 Description ICPCCamp 有 n 个商店,用 1, 2, …, n 编号。对于任意 i 1,有从商店 $p_i$ 到 i 的单向道路。 同时,商店 i 出售类型为 $a_i$ 的商品。 Bobo 从商店 1 出发前往商店 i 。他要在两个不同的商店购买
阅读全文

浙公网安备 33010602011771号