2016年3月24日
摘要:
传送门 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum
阅读全文
posted @ 2016-03-24 16:45
njczy2010
阅读(166)
推荐(0)
2016年3月23日
摘要:
传送门 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e
阅读全文
posted @ 2016-03-23 18:29
njczy2010
阅读(299)
推荐(0)
2016年3月16日
摘要:
传送门 题意: 每种采药可以无限制地疯狂采摘,求 在规定的时间内,可以采到的草药的最大总价值 题解: 裸的完全背包,注意和01背包的循环顺序问题。(完全背包从小往大,01背包从大往小) 评测结果:Accepted 得分: 100提交时间:2016-03-16 19:27
阅读全文
posted @ 2016-03-16 19:31
njczy2010
阅读(409)
推荐(0)
摘要:
传送门 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2947 Accepted Submission(s): 1149 题意: 题意:给出一个
阅读全文
posted @ 2016-03-16 19:13
njczy2010
阅读(298)
推荐(0)
摘要:
传送门 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20166 Accepted Submission(s): 5992 题意: 求起点到终点
阅读全文
posted @ 2016-03-16 13:37
njczy2010
阅读(314)
推荐(0)
2016年3月15日
摘要:
传送门 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 30264 Accepted Submission(s): 10657
阅读全文
posted @ 2016-03-15 17:46
njczy2010
阅读(188)
推荐(0)
2016年3月14日
摘要:
传送门 Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo g
阅读全文
posted @ 2016-03-14 17:05
njczy2010
阅读(179)
推荐(0)
2016年3月8日
摘要:
传送门 算法训练 最大的算式 时间限制:1.0s 内存限制:256.0MB 问题描述 题目很简单,给出N个数字,不改变它们的相对位置,在中间加入K个乘号和N-K-1个加号,(括号随便加)使最终结果尽量大。因为乘号和加号一共就是N-1个了,所以恰好每两个相邻数字之间都有一个符号。例如: N=5,K=2
阅读全文
posted @ 2016-03-08 16:42
njczy2010
阅读(1412)
推荐(0)
2016年3月7日
摘要:
传送门 Zero Escape Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1460 Accepted Submission(s): 71
阅读全文
posted @ 2016-03-07 11:03
njczy2010
阅读(227)
推荐(0)
摘要:
传送门 How to Type Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5452 Accepted Submission(s): 2436
阅读全文
posted @ 2016-03-07 10:49
njczy2010
阅读(208)
推荐(0)