摘要: 题目: G -Max Sum Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u hdu 1003DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this... 阅读全文
posted @ 2012-01-18 22:10 hankers 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 题目: J -I NEED A OFFER! Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u DescriptionSpeakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。他将在m个学校中选择若干的(当然要在他的经济承受范围内)。每个学校都有不同的申请费用a(万美元),并且Speakle... 阅读全文
posted @ 2012-01-18 21:39 hankers 阅读(452) 评论(0) 推荐(0) 编辑