上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 66 下一页
摘要: 一起看很美的日落! 题目描述 牛可乐有一棵由 $n$ 个结点构成的树,第 $i$ 个节点的权值为 $a_i$。 我们定义一个连通块 $\mathbb{V}$ 的权值为: 当前连通块中两两结点的权值异或和,即 $\sum\limits_{i,j \in \mathbb{V}}{a_i \oplus a 阅读全文
posted @ 2025-01-25 12:49 onlyblues 阅读(78) 评论(0) 推荐(0)
摘要: 那是我们的影子 题目描述 由 $3 \times n$ 个单元格构成的 $3$ 行 $n$ 列异形数独规则如下: 每一个单元格都需要填入 $1$ 到 $9$ 之间的整数; 任意一个 $3 \times 3$ 的子矩阵中都不包含重复的数字; 现在,牛可乐已经填入了一些数字,请你在此基础上帮助他计算,这 阅读全文
posted @ 2025-01-24 21:43 onlyblues 阅读(110) 评论(0) 推荐(0)
摘要: H. Hard Demon Problem Swing is opening a pancake factory! A good pancake factory must be good at flattening things, so Swing is going to test his new 阅读全文
posted @ 2024-12-19 09:31 onlyblues 阅读(69) 评论(0) 推荐(0)
摘要: Minimum Operations to Make Character Frequencies Equal You are given a string s. A string t is called good if all characters of t occur the same numbe 阅读全文
posted @ 2024-12-16 22:50 onlyblues 阅读(119) 评论(0) 推荐(0)
摘要: F - Diversity Problem Statement There are $N$ products for sale in a store. The $i$-th product has a price of $P_i$ yen, a utility value of $U_i$, and 阅读全文
posted @ 2024-12-13 16:30 onlyblues 阅读(72) 评论(0) 推荐(0)
摘要: Maximum Area Rectangle With Point Constraints II There are n points on an infinite plane. You are given two integer arrays xCoord and yCoord where (xC 阅读全文
posted @ 2024-12-09 23:04 onlyblues 阅读(221) 评论(0) 推荐(0)
摘要: GLLF 砍木棍 题目描述 上回 GLLF 对一个木头砍了 $10^{100}$ 刀,他感觉有点累了,所以他决定砍一根木棍。 他有一根长度为正整数 $n$ 的木棍,把它砍成了若干个长度为正整数的小段,他很好奇有多少种砍法能使得这些小段木棍能拼成一个凸多边形。 两种砍法不同当且仅当存在砍的位置不同。我 阅读全文
posted @ 2024-12-05 15:50 onlyblues 阅读(100) 评论(0) 推荐(0)
摘要: 小红闯地下城 题目描述 已知地下城是树形结构,一共有 $n$ 个房间,$n−1$ 条双向通路。入口和出口都在 $1$ 号房间,每个房间有 $1$ 只怪物,小红进入房间后必须先击杀怪物。 每个房间有一个通往其他房间的单向传送阵。小红可以使用最多 $1$ 次传送。 当小红通过道路或者传送阵移动到其他房间 阅读全文
posted @ 2024-11-22 17:53 onlyblues 阅读(83) 评论(0) 推荐(0)
摘要: Reinforced Problem 题目描述 原神是一款开放世界的动作角色扮演游戏,玩家一次可以选择四名角色参与战斗,并且在战斗中可以快速切换。角色可以通过各种方式增强他们的力量,例如提高角色的等级,改进角色装备的圣遗物和武器。 zml 就是一名忠实的原神玩家,但是由于 ffg 对原神的强烈抵制, 阅读全文
posted @ 2024-11-20 15:15 onlyblues 阅读(47) 评论(0) 推荐(0)
摘要: G. Natlan Exploring You are exploring the stunning region of Natlan! This region consists of $n$ cities, and each city is rated with an attractiveness 阅读全文
posted @ 2024-11-19 10:50 onlyblues 阅读(277) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 66 下一页
Web Analytics