QuickDetailsType:BarFurnitureSpecificUse:BarStoolGeneralUse:CommercialFurnitureMaterial:SyntheticLeatherAppearance:ModernFolded:NoPlaceofOrigin:Zhejiang,China(Mainland)BrandName:YIBOModelNumber:YB-628
分类:
其他好文 时间:
2018-08-10 11:42:13
阅读次数:
154
题意:给n个人插队,输出最后的队伍情况(题意写的有些粗糙) 思路:第一点:在最后的队伍中,我们唯一能确定的是最后一个人一定能排到指定位置。那么,倒数第二个是在最后一个基础上确定位置的,这样一层一层的倒着确定,所以,我们要逆着放,用二分的方法。 第二点:将一个插队问题与线段树所所解决的问题进行联系:插 ...
分类:
其他好文 时间:
2018-08-02 00:05:36
阅读次数:
110
[题目链接] http://poj.org/problem?id=1952 [算法] DP [代码] ...
分类:
其他好文 时间:
2018-07-22 14:04:28
阅读次数:
170
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1260 Tickets Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Subm ...
分类:
其他好文 时间:
2018-07-21 21:21:03
阅读次数:
151
题目描述 Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the film tickets. ...
分类:
其他好文 时间:
2018-07-17 14:14:48
阅读次数:
181
http://poj.org/problem?id=2828 题意 排队买票,依次给出当前人要插队的位置,每个人有个编号,然后问你最后整个的序列是什么? 分析 最后一个人的要插入的位置是确定的,所以逆序遍历,线段树结点存储的是当前区域的空位置数量。我们就可以倒着来插,最后一个固定后,如果倒数第二个插 ...
分类:
其他好文 时间:
2018-07-10 23:33:35
阅读次数:
196
柠檬水🍋找零问题,有5 10 20三种面值。解法:能用10元找零就不用5块。 At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one ...
分类:
其他好文 时间:
2018-07-08 21:17:11
阅读次数:
160
2016年阿里云与国内证书颁发机构天威诚信推出了基于Symantec(赛门铁克)的免费SSL证书,有需要免费SSL证书产品的可以前往阿里云进行申请。 申请地址:阿里云云盾证书服务—Symantec免费SSL证书 https://common-buy.aliyun.com/?spm=5176.7968 ...
分类:
其他好文 时间:
2018-07-04 15:59:17
阅读次数:
216
At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bil ...
分类:
其他好文 时间:
2018-07-01 15:55:22
阅读次数:
172
leetcode上的几道题,意思是知道股票的走势,怎么获得买卖最大利润,卖的日子必须在买的日子的后面,每一道题的限制不一样,用到的算法也可能不一样。 121. Best Time to Buy and Sell Stock 题干如下: Say you have an array for which ...
分类:
其他好文 时间:
2018-06-17 18:55:07
阅读次数:
151