EricYang

Tech Spot of Eric

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年5月25日

摘要: Human Gene FunctionsTime Limit:1000MSMemory Limit:10000KTotal Submissions:11405Accepted:6296DescriptionIt is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letters, A, C, G, and T. Biologists have been interested in iden 阅读全文
posted @ 2011-05-25 21:32 Eric-Yang 阅读(170) 评论(0) 推荐(0) 编辑

摘要: The TriangleTime Limit:1000MSMemory Limit:10000KTotal Submissions:24947Accepted:14498Description73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the top and ends somewhere on the base. Eac 阅读全文
posted @ 2011-05-25 16:59 Eric-Yang 阅读(239) 评论(0) 推荐(0) 编辑

摘要: Cow BowlingTime Limit:1000MSMemory Limit:65536KTotal Submissions:8553Accepted:5607DescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling-pin-like triangle like this: 7 3 8 8 1 0 2 7 4 4 4 5 阅读全文
posted @ 2011-05-25 16:54 Eric-Yang 阅读(139) 评论(0) 推荐(0) 编辑

摘要: Longest Ordered SubsequenceTime Limit:2000MSMemory Limit:65536KTotal Submissions:18511Accepted:7963DescriptionA numeric sequence ofaiis ordered ifa1<a2< ... <aN. Let the subsequence of the given numeric sequence (a1,a2, ...,aN) be any sequence (ai1,ai2, ...,aiK), where 1 <=i1<i2< . 阅读全文
posted @ 2011-05-25 16:14 Eric-Yang 阅读(270) 评论(0) 推荐(0) 编辑

摘要: PearlsTime Limit:1000MSMemory Limit:10000KTotal Submissions:4381Accepted:2101DescriptionIn Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of jewelry with pearls in it. The Royal Pearl has its name because it delivers to the royal family of Pearlania. But i 阅读全文
posted @ 2011-05-25 15:50 Eric-Yang 阅读(275) 评论(0) 推荐(0) 编辑