![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
wxl7777
这个作者很懒,什么都没留下…
展开
-
B. Approximating a Constant Range
When Xellos was doing a practice course in university, he once had to measure the intensity of an effect that slowly approached equilibrium. A good way to determine the equilibrium intensity would be ...原创 2019-01-17 21:27:09 · 249 阅读 · 0 评论 -
[Offer收割]编程练习赛95
题目1 : 浇花问题 描述 小Hi在一条小路上种植了一排月季,总共有N株。这条小路的一端是一个水龙头。N株月季距离水龙头由近到远的距离依次是A1, A2, ... AN,每天需要浇水的量依次是B1, B2, ... BN。 现在小Hi有一个容量是C的水壶。他从水龙头出发,拎着灌满的水壶,依次去浇灌第1株、第2株、第3株…… 如果浇完第K株时,小Hi发现水壶中剩余的水量不足以浇灌第K+1株...原创 2019-03-16 14:11:01 · 293 阅读 · 0 评论 -
D. Berland Fair
题目链接:http://codeforces.com/contest/1073/problem/D XXI Berland Annual Fair is coming really soon! Traditionally fair consists ofnnbooths, arranged in a circle. The booths are numbered11throughnnc...原创 2019-06-23 13:11:54 · 250 阅读 · 0 评论 -
小阳的贝壳
链接:https://ac.nowcoder.com/acm/contest/949/H 来源:牛客网 题目描述 小阳手中一共有 n 个贝壳,每个贝壳都有颜色,且初始第 i 个贝壳的颜色为 colicoli 。现在小阳有 3 种操作: 1 l r x:给 [l,r][l,r] 区间里所有贝壳的颜色值加上 xx 。 2 l r:询问 [l,r][l,r] 区间里所有相邻贝壳 颜色值的差(取绝...原创 2019-07-17 20:45:48 · 228 阅读 · 0 评论 -
Taotao Picks Apples
Problem Description There is an apple tree in front of Taotao's house. When autumn comes,napples on the tree ripen, and Taotao will go to pick these apples. When Taotao picks apples, Taotao scans t...转载 2019-07-17 20:51:06 · 334 阅读 · 0 评论