摘要: Saving HDUTime Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 81Accepted Submission(s) : 28Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇二人了。显然,作为多年拼搏的商人,XHD不会坐以待毙的。一天,当他正在苦思冥想解困良策的时候,突然想到了自己的传家 阅读全文
posted @ 2013-08-14 20:09 一只蚊子 阅读(232) 评论(1) 推荐(0)
摘要: 今年暑假不ACTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 69Accepted Submission(s) : 30Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description“今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%...”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电 阅读全文
posted @ 2013-08-14 18:20 一只蚊子 阅读(183) 评论(0) 推荐(0)
摘要: #include//算法头文件sort(a,b)//默认升序sort(a,b,cmp)bool cmp( 类型, 类型){ }重载const bool operator list 对象queue对象stack对象priority_queue对象binary_search(头,尾,查找的数);迭代器queueiterator a; 阅读全文
posted @ 2013-08-14 17:18 一只蚊子 阅读(110) 评论(0) 推荐(0)
摘要: 稳定排序Time Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 51Accepted Submission(s) : 19Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description大家都知道,快速排序是不稳定的排序方法。如果对于数组中出现的任意a[i],a[j](i#includeusing namespace std;struct student{ stri... 阅读全文
posted @ 2013-08-14 14:47 一只蚊子 阅读(195) 评论(0) 推荐(0)
摘要: Max SumTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 51Accepted Submission(s) : 8Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-seq 阅读全文
posted @ 2013-08-14 11:17 一只蚊子 阅读(172) 评论(0) 推荐(0)