摘要: 题目:H -命运Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription穿过幽谷意味着离大魔王lemon已经无限接近了!可谁能想到,yifenfei在斩杀了一些虾兵蟹将后,却再次面临命运大迷宫的考验,这是魔王lemon设下的又一个机关。要知道,不论何人,若在迷宫中被困1小时以上,则必死无疑!可怜的yifenfei为了去救MM,义无返顾地跳进了迷宫。让我们一起帮帮执着的他吧!命运大迷宫可以看成是一个两维的方格阵列,如下图所示:yifenfei一开始在左上角,目的当然是 阅读全文
posted @ 2014-03-26 11:46 悠悠我心。 阅读(280) 评论(0) 推荐(0)
摘要: 题目:G -Multiplication PuzzleTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of po 阅读全文
posted @ 2014-03-26 11:44 悠悠我心。 阅读(177) 评论(0) 推荐(0)
摘要: 完全背包可以通过二进制优化降低时间复杂度:D -DividingTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionMarsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all t 阅读全文
posted @ 2014-03-26 11:41 悠悠我心。 阅读(1110) 评论(0) 推荐(0)