摘要:
【题目来源】 题目来源:vs怪物4 【题目描述】 卡罗尔和 \(1\) 只怪物在战斗,这只怪物的体力是 \(H\) 卡罗尔每次可以对 \(1\) 只怪物发起攻击,此时有以下两种情况: (1)如果被攻击的怪物的体力为 \(1\),那么这只怪物会被消灭。 (2)如果被攻击的怪物的体力 \(X>1\),那 阅读全文
posted @ 2026-06-14 10:45
团爸讲算法
阅读(8)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:E - Intervals That Can Be Arranged Alternately 【题目描述】 Takahashi has arranged \(N\) white and black stones in a row. The color of the \( 阅读全文
posted @ 2026-06-14 10:45
团爸讲算法
阅读(8)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Control Panel Operation Sequence 【题目描述】 Takahashi performed \(N\) types of operations on a control panel with \(K\) lamps arranged 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(12)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Returning Library Books 【题目描述】 Takahashi works as a librarian at a library. Today, he must return \(N\) books that were returned by 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(9)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:C - Shortest Mountain Climbing Route 【题目描述】 Takahashi enjoys mountain climbing and is planning a traverse route through a mountain rang 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(3)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Escape from the Ice Rink 【题目描述】 Takahashi is trapped in a rectangular ice rink with \(H\) rows and \(W\) columns. There are \(N\) p 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:C - Laying Optical Fiber 【题目描述】 Takahashi is an engineer at a telecommunications company. He has been assigned a project to lay new fib 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(8)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Corridor Doors and Hit Points 【题目描述】 There is a corridor consisting of \(L\) rooms arranged in a horizontal row. The rooms are numb 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:B - Maximizing the Partition Score of a Lamp Sequence 【题目描述】 Takahashi has a device with \(N\) lamps arranged in a row. Each lamp is ei 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(11)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Network Construction 【题目描述】 Takahashi is the network administrator of a data center with \(N\) servers. The servers are numbered fr 阅读全文
posted @ 2026-06-14 10:44
团爸讲算法
阅读(6)
评论(0)
推荐(0)
浙公网安备 33010602011771号