CF505E-Mr. Kitayuta vs. Bamboos 题目: 题目描述: Mr. Kitayuta’s garden is planted with $ n $ bamboos. (Bamboos are tall, fast-growing tropical plants with hollow stems.) At the moment, the height of the $ i $ -th bamboo is $ h_{i} $ meters, and it grows $ a_{i} $ meters at the end of each day. Actually, Mr. Kitayuta hates these bamboos. He once attempted
P3761-[TJOI2017]城市 题目: 题目描述: 从加里敦大学城市规划专业毕业的小明来到了一个地区城市规划局工作。这个地区一共有 $n$ 座城市,
P4284-[SHOI2014]概率充电器 题目: 题目描述: 著名的电子产品品牌SHOI 刚刚发布了引领世界潮流的下一代电子产品—— 概率充电器: “
CF979E-Kuro and Topological Parity 题目: 题目描述: Kuro has recently won the “Most intelligent cat ever” contest. The three friends then decided to go to Katie’s home to celebrate Kuro’s winning. After a big meal, they took a small break then started playing games. Kuro challenged Katie to create a game with only a white paper, a pencil, a pair of scissors and a lot
P3177-[HAOI2015]树上染色 题目: 题目描述: 有一棵点数为 $n$ 的树,树边有边权。给你一个在 $0 \sim n$ 之内的正整数 $k$ ,你要在这棵树中选择 $k$
P2501-[HAOI2006]数字序列 题目: 题目描述: 现在我们有一个长度为 $n$ 的整数序列 $a$。但是它太不好看了,于是我们希望把它变成一个单