上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 41 下一页
摘要: 题目描述 You are given a tree of $ n $ vertices. The vertices are numbered from $ 1 $ to $ n $ . You will need to assign a weight to each edge. Let the we 阅读全文
posted @ 2023-03-15 16:28 灰鲭鲨 阅读(71) 评论(0) 推荐(0)
摘要: Problem StatementYou are given a sequence of $N$ non-negative integers $A=(A_1,A_2,\dots,A_N)$ and a positive integer $K$. Find the bitwise $\mathrm{X 阅读全文
posted @ 2023-03-12 07:37 灰鲭鲨 阅读(44) 评论(0) 推荐(0)
摘要: h3>Problem StatementJoisino is about to compete in the final round of a certain programming competition. In this contest, there are $N$ problems, numb 阅读全文
posted @ 2023-03-11 22:36 灰鲭鲨 阅读(21) 评论(0) 推荐(0)
摘要: a 阅读全文
posted @ 2023-02-21 14:05 灰鲭鲨 阅读(15) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-02-20 10:27 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
摘要: Problem StatementWe have a tree $T$ with vertices numbered $1$ to $N$. The $i$-th edge of $T$ connects vertex $u_i$ and vertex $v_i$. Let us use $T$ t 阅读全文
posted @ 2023-02-20 09:57 灰鲭鲨 阅读(50) 评论(0) 推荐(0)
摘要: # [NOIP2017 提高组] 宝藏 ## 题目描述 参与考古挖掘的小明得到了一份藏宝图,藏宝图上标出了 $n$ 个深埋在地下的宝藏屋, 也给出了这 $n$ 个宝藏屋之间可供开发的 $m$ 条道路和它们的长度。 小明决心亲自前往挖掘所有宝藏屋中的宝藏。但是,每个宝藏屋距离地面都很远,也就是说,从地 阅读全文
posted @ 2023-02-12 13:00 灰鲭鲨 阅读(225) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-02-12 12:49 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
摘要: [PKUSC2018]真实排名 题目描述 小 C 是某知名比赛的组织者,该比赛一共有 \(n\) 名选手参加,每个选手的成绩是一个非负整数,定义一个选手的排名是:成绩不小于他的选手的数量(包括他自己)。例如如果 \(3\) 位选手的成绩分别是 \([1 , 2 ,2]\) ,那么他们的排名分别是 \ 阅读全文
posted @ 2023-02-12 12:29 灰鲭鲨 阅读(57) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-02-09 21:36 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 41 下一页