摘要: 鸣人与佐助 佐助被大蛇丸诱骗走了,鸣人在多少时间内能追上他呢? 已知一张地图(以二维矩阵的形式表示)以及佐助和鸣人的位置。地图上的每个位置都可以走到,只不过有些位置上有大蛇丸的手下,需要先打败大蛇丸的手下才能到这些位置。 鸣人有一定数量的查克拉,每一个单位的查克拉可以打败一个大蛇丸的手下。假设鸣人可 阅读全文
posted @ 2023-11-10 21:20 W_K_KAI 阅读(45) 评论(0) 推荐(0)
摘要: Oil Deposits 这道题的原题链接Online Judge 自行翻译 == == The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvCom 阅读全文
posted @ 2023-11-10 20:31 W_K_KAI 阅读(22) 评论(1) 推荐(0)
摘要: 这道油田的原题在这边Online Judge 可以自行翻译一下,下面是我的代码注释,不懂可以在下面留言 The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. Geo 阅读全文
posted @ 2023-11-10 19:45 W_K_KAI 阅读(25) 评论(0) 推荐(0)