04 2023 档案

摘要:Problem StatementYou are given positive integers N and K. Find the number, modulo 998244353, of integer sequences $\bigl(f(0), f(1), \ldots, f(2 阅读全文
posted @ 2023-04-29 12:13 灰鲭鲨 阅读(26) 评论(0) 推荐(0) 编辑
摘要:[省选联考 2023] 人员调度 题目背景 滥用本题评测将封号。 题目描述 众所周知,一个公司的 n 个部门可以组织成一个树形结构。形式化地,假设这些部门依次编号为 1,,n,那么除了 1 号部门以外,第 i[2,n] 个部门有且仅有一个上级部门 $p_i 阅读全文
posted @ 2023-04-29 10:45 灰鲭鲨 阅读(62) 评论(0) 推荐(0) 编辑
摘要:[省选联考 2023] 过河卒 题目背景 棋盘上有一个过河卒,需要走到底线。卒行走的规则是可以向左移动一格,向右移动一格或者向前移动一格。同时在棋盘上有两个另一方的棋子,需要拦截这个卒走到底线。这两个棋子的走法和帅一致,可以走到前后左右四个方向上相邻的格子。因此本题可以称为“帅拦过河卒”。 题目描述 阅读全文
posted @ 2023-04-29 09:22 灰鲭鲨 阅读(185) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a string S consisting of lowercase English letters. Print the number of non-empty strings T that satisfy the follow 阅读全文
posted @ 2023-04-29 08:54 灰鲭鲨 阅读(46) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示