摘要: nefu 1026 申请动态空间存放字符串,将其排序后输出 http://acm.nefu.edu.cn/JudgeOnline/problemShow.php?problem_id=1026 #include <iostream> #include <algorithm> #include <cs 阅读全文
posted @ 2016-04-27 22:56 邻家那小孩儿 阅读(80) 评论(0) 推荐(0) 编辑
摘要: Description Given 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 m 阅读全文
posted @ 2016-04-27 22:50 邻家那小孩儿 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Problem Description 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小 阅读全文
posted @ 2016-04-27 20:47 邻家那小孩儿 阅读(91) 评论(0) 推荐(0) 编辑