且未

博客园 首页 新随笔 联系 订阅 管理

2017年11月30日 #

摘要: 题目(1231)#include#includeusing namespace std;int main(){ int K,num[10010],cnt; int end,start,thisMax,Max,temp; while(cin>>K&&K... 阅读全文
posted @ 2017-11-30 18:37 阿聊 阅读(111) 评论(0) 推荐(0)

摘要: http://blog.csdn.net/consciousman/article/details/52348439 阅读全文
posted @ 2017-11-30 16:52 阿聊 阅读(123) 评论(0) 推荐(0)

摘要: 题目①:先判断n张发票中,有哪些是可以是报销的,可以报销的条件是( 同类不能超过600,每张发票不能超过1000,除了A,B,C之外类型的发票不能报销 ),并且计算出每张发票可以报销的总额。②:初始化dp[0] = 0,表示都没有报销,外层循环遍历后续的发票,内层循环... 阅读全文
posted @ 2017-11-30 16:28 阿聊 阅读(172) 评论(0) 推荐(0)