2014年4月1日

ZOJ --- 3516 Tree of Three

摘要: Tree of ThreeTime Limit:2 Seconds Memory Limit:65536 KBNow we have a tree and some queries to deal with. Every node in the tree has a value on it. For one nodeA, we want to know the largest three values in all the nodes of the subtree whose root is nodeA. Node 0 is root of the tree, except it, all o 阅读全文

posted @ 2014-04-01 20:50 ~Love() 阅读(247) 评论(0) 推荐(0)

HDOJ --- Super Jumping! Jumping! Jumping!

摘要: Super Jumping! Jumping! Jumping!Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19996Accepted Submission(s): 8679Problem DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a goo 阅读全文

posted @ 2014-04-01 17:24 ~Love() 阅读(172) 评论(0) 推荐(0)

HDOJ --- 1159 Common Subsequence

摘要: Common SubsequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20815Accepted Submission(s): 8954Problem DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another. 阅读全文

posted @ 2014-04-01 16:37 ~Love() 阅读(133) 评论(0) 推荐(0)

HDOJ --- 1176 免费馅饼

摘要: 免费馅饼Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22895Accepted Submission(s): 7708Problem Description都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能 阅读全文

posted @ 2014-04-01 14:46 ~Love() 阅读(158) 评论(0) 推荐(0)

POJ --- 1753 Flip Game

摘要: Flip GameDescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying either it's black or white side up. Each round you flip 3 to 5 pieces, thus changing the c 阅读全文

posted @ 2014-04-01 12:26 ~Love() 阅读(146) 评论(0) 推荐(0)

导航