https://www.gravatar.com/avatar/8f3abece0f8608ce4b9c1e3212fd1b72?s=240&d=mp

CF505E-Mr. Kitayuta vs. Bamboos

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