摘要:
【题目来源】 AtCoder:C - Maximizing Investment 【题目描述】 Takahashi is investing in \(N\) stocks. The current asset value of stock \(i\) (\(1 \leq i \leq N\)) i 阅读全文
posted @ 2026-06-21 11:25
团爸讲算法
阅读(10)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Cell Division 【题目描述】 Takahashi is observing a culture sample consisting of \(N\) cells. 高桥正在观察一份包含 \(N\) 个细胞的培养样本。 Each cell has an 阅读全文
posted @ 2026-06-21 11:25
团爸讲算法
阅读(5)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:B - Order of Books on the Bookshelf 【题目描述】 Takahashi's bookshelf has \(N\) books lined up in a row. The \(i\)-th book from the left has 阅读全文
posted @ 2026-06-21 11:25
团爸讲算法
阅读(8)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:E - A Walk and Barricades 【题目描述】 Takahashi is taking a walk on a one-dimensional number line. Initially, Takahashi is at coordinate \(0 阅读全文
posted @ 2026-06-21 11:25
团爸讲算法
阅读(10)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Nearly Identical Signal Patterns 【题目描述】 Takahashi is analyzing the log of a communication system. In this system, a bit string \(S\ 阅读全文
posted @ 2026-06-21 11:25
团爸讲算法
阅读(5)
评论(0)
推荐(0)
摘要:
【题目来源】 AcWing:866 试除法判定质数 - AcWing题库 【题目描述】 给定 \(n\) 个正整数 \(a_i\),判定每个数是否是质数。 【输入】 第一行包含整数 \(n\)。 接下来 \(n\) 行,每行包含一个正整数 \(a_i\)。 【输出】 共 \(n\) 行,其中第 \( 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:C - Reward for Carrying Luggage 【题目描述】 There are \(N\) rooms arranged in a row, numbered Room \(1\), Room \(2\), \(\ldots\), Room \(N\) 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:C - Optimal Menu Selection for an Izakaya 【题目描述】 Takahashi is at an izakaya (Japanese-style pub). The menu has \(N\) dishes, and the \( 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Card Taking Game 【题目描述】 Takahashi and Aoki play a game using cards. 高桥和青木用卡片玩一个游戏。 \(N\) cards are arranged in a row on the table, 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(8)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - Organizing the Bookshelf 【题目描述】 Takahashi has \(N\) books arranged in a row from left to right on his bookshelf. The \(i\)-th book 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(4)
评论(0)
推荐(0)
浙公网安备 33010602011771号